alexrintt / lichess.dart

Lichess client for Dart.
https://pub.dev/packages/lichess_client_dio
MIT License
6 stars 2 forks source link

Gamemode History is missing #25

Open riccardocescon opened 1 year ago

riccardocescon commented 1 year ago

Ref: https://lichess.org/api#tag/Users/operation/playerTopNbPerfType

There is a signature but the implementation is missing. This api should give a user history for a requested gamemode 'blitz', 'classic'....

alexrintt commented 1 year ago

This api should give a user history for a requested gamemode

The endpoint you mentioned has nothing to do with user history.

alexrintt commented 1 year ago

playerTopNbPerfType was implemented, but i am not sure if it covers your use-case (show the match history of a given user).

alexrintt commented 1 year ago

Ok, to list the user most recent matches first, we probably need to use this endpoint: https://lichess.org/api#tag/Games/operation/apiGamesUser.

riccardocescon commented 1 year ago

Yes my bad, noticed It Yesterday, i started using this endpoint and forgot to update this issue