Usage
Account

Account

Lichess API Docs - Account (opens in a new tab)

Get my profile

lichess.account.info()

Get my email address

lichess.account.email()

Get my preferences

lichess.account.preferences()

Get my kid mode status

lichess.account.kidMode()

Set my kid mode status

lichess.account.kidMode({ enable?: boolean })

List your challenges

This feature is under the Challenges (opens in a new tab) part.

lichess.account.challenges()

Get my ongoing games

This feature is under the Games (opens in a new tab) part.

lichess.account.ongoing({ limit?: number })

Get users followed by the logged in user

This feature is under the Relations (opens in a new tab) part.

lichess.account.following()