Comments (5)
Thanks for reporting this. I'll make some time to investigate it this weekend.
from berserk.
I looked into this and it turns out the API returns an empty response body if there is no rating history for the user. I'll reach out to the lichess devs to make sure this is intentional and then also handle that situation more gracefully than an obtuse exception.
from berserk.
They agreed it was a bug. Should be fixed in production soon since it just got committed: lichess-org/lila@bea1b52.
from berserk.
Nice!
from berserk.
Closing this as fixed!
$ curl -s -H "Accept: application/json" \
-H "Authorization: Bearer $LICHESS_TOKEN" \
https://lichess.org/api/user/AboodSalah/rating-history
[]
from berserk.
Related Issues (20)
- get_rating_hist returns raw json string instead of list HOT 1
- export_by_player incorrect work of a boolean argument rated HOT 1
- Play against AI problem. HOT 2
- How know the type of color on a challenge Random Color? HOT 1
- No method for api/tournament/{id}
- Use discord to launch lichess game and invite players to play, then be able to grab the game information after . HOT 1
- Add the openingExplorerLichess for master/lichess games HOT 1
- Oauth2 HOT 1
- Can't call get_activity_feed HOT 8
- Berserk `since` and `until` should be integers HOT 1
- `sort` parameter missing from export_by_player?
- using API from Alexa skill to play unlimited engine game HOT 2
- Challenge result does not reflect color HOT 1
- Get tournament bug HOT 1
- Two users at the same time?
- http.client.RemoteDisconnected: Remote end closed connection without response HOT 1
- TypeError using create_open meathod on raspian with Python 3.9 and lastest bersek version
- ChunkedEncodingError While extracting the data
- board seek function increment parameter in seconds, not minutes
- Lichess improving berserk UX HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from berserk.