1.0.3 • Published 8 years ago

node-lichess v1.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

Node-Lichess

API Convenience wrapper for the Lichess.org API

npm install --save node-lichess

  import LichessClient from 'node-lichess';
  const client = new LichessClient();

  client.getUser('jgladch', {}, (err, user) => {
    console.log(user);
  });

  client.getUsersGames('jgladch', {}, (err, games) => {
    console.log(games);
  });

  client.getGameById('o5tc0OQwiOTR', {}, (err, game) => {
    console.log(game);
  });