2.0.15 • Published 3 years ago

lichess v2.0.15

Weekly downloads
7
License
MIT
Repository
github
Last release
3 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

3 years ago

2.0.14

3 years ago

2.0.13

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.7

4 years ago

2.0.8

4 years ago

2.0.6

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago