Closed TM90 closed 3 years ago
When using client.users.get_rating_hist() return value is a string with the list of the dict inside instead of the expected list. This happened suddenly and thus it might be a lichess api change or bug.
import berserk token = 'SUPER-SECRET-TOKEN' session = berserk.TokenSession(token) client = berserk.Client(session=session) rating_hist = client.users.get_rating_history(username='someUserId') type(rating_hist) >>> <class str>
It seems that this issue is only impacting get_rating_history other commands like get_live_streamers are returning a list as expected
get_rating_history
get_live_streamers
This seems to be fixed by lichess and works as intended again
Description
When using client.users.get_rating_hist() return value is a string with the list of the dict inside instead of the expected list. This happened suddenly and thus it might be a lichess api change or bug.
What I Did
It seems that this issue is only impacting
get_rating_history
other commands likeget_live_streamers
are returning a list as expected