node-lichess

1.0.3 • Public • Published

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);
  });

Readme

Keywords

none

Package Sidebar

Install

npm i node-lichess

Weekly Downloads

0

Version

1.0.3

License

ISC

Last publish

Collaborators

  • jgladch