You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Discord bot graphs a player's last 90 days of rating history grouped by date (and storm rating history) so the API endpoint doesn't need to offer the full history (which will only grow over time): https://lichess.org/api#operation/apiUserRatingHistory
The bot needs to do its own data filtering anyway in case there's too much data to produce a graph, so this isn't urgent, just puzzling why the API offers an unbounded query.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My Discord bot graphs a player's last 90 days of rating history grouped by date (and storm rating history) so the API endpoint doesn't need to offer the full history (which will only grow over time):
https://lichess.org/api#operation/apiUserRatingHistory
The bot needs to do its own data filtering anyway in case there's too much data to produce a graph, so this isn't urgent, just puzzling why the API offers an unbounded query.
I see that https://lichess.org/api#operation/apiStormDashboard does group best rating by date and does specify a "days" filter.
Beta Was this translation helpful? Give feedback.
All reactions