Closed roman-vygon closed 8 months ago
Currently API is missing an endpoint for leaderboards, instead in documentation there's only a link to the html variant like https://lishogi.org/player/top/200/bullet, it would be useful to also have https://lishogi.org/api/player/top/200/bullet which returns json like on lichess.
Check this out: https://lishogi.org/api#tag/Users/operation/playerTopNbPerfType
Ahh, gotta set the Accept header to "application/vnd.lishogi.v3+json", got it.
Currently API is missing an endpoint for leaderboards, instead in documentation there's only a link to the html variant like https://lishogi.org/player/top/200/bullet, it would be useful to also have https://lishogi.org/api/player/top/200/bullet which returns json like on lichess.