https://github.com/devjiwonchoi/equine
Minimal Lichess API Client for Node.js
https://github.com/devjiwonchoi/equine
api berserk chess client lichess lila node openapi
Last synced: 6 months ago
JSON representation
Minimal Lichess API Client for Node.js
- Host: GitHub
- URL: https://github.com/devjiwonchoi/equine
- Owner: devjiwonchoi
- License: mit
- Created: 2023-08-27T18:10:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T04:05:32.000Z (7 months ago)
- Last Synced: 2025-07-01T05:24:24.332Z (7 months ago)
- Topics: api, berserk, chess, client, lichess, lila, node, openapi
- Language: TypeScript
- Homepage: https://npmjs.com/equine
- Size: 931 KB
- Stars: 22
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# equine 🐴
> [!NOTE]
> Equine follows the OpenAPI Specification provided by [Lichess API](https://lichess.org/api), and requires its API Token.
>
> [Generate Lichess API Token](https://lichess.org/account/oauth/token)
```ts
import { initialize, accountMe } from 'equine'
// Initialize once with your Lichess API token.
initialize(process.env.LICHESS_API_TOKEN!)
const res = await accountMe()
console.log(res.data?.username)
```
For detailed information on specific APIs, see the [API References](https://github.com/devjiwonchoi/equine/blob/main/src/client/sdk.gen.ts).