2.0.15 • Published 4 years ago

lichess v2.0.15

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

Lichess.JS

A wrapper for the Lichess HTTP API.

Actively developed, built to be as systematic and intuitive for a user as possible. Endpoints are structured as imperatively as possible.

Current categories of endpoints are:

  • Users
  • Tournaments
  • Games
  • Profile
  • Puzzles

And these are all easily called as a property of the package. To get started, use npm install lichess.

Use in a file is simple. Example:

let lila = require('lichess');

(async () => {

    console.log(await lila.users.get('theLAZYmd')); // returns a User object for theLAZYmd

    console.log(await lila.users.status(['opperwezen', 'thibault'])); // returns the status of multiple users

    console.log(await lila.tournaments.get('4UZLRsPb'));

})()

Full documentation of list of endpoints to be published shortly.

This library is promise-based, which means the result of each method returns a promise that must be await-ed or chained with a .then() method.

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.9

5 years ago

2.0.10

5 years ago

2.0.7

5 years ago

2.0.8

5 years ago

2.0.6

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago