Closed jube-pimy closed 2 years ago
Hi @jube-pimy,
I tryed and found the bug.
Replace datetime_from_seconds
by datetime_from_millis
.
Nice news ! Thanks :) I'll try this as soon as possible
Hi @jube-pimy,
I tryed and found the bug.
Replace
datetime_from_seconds
bydatetime_from_millis
.
Much appreciated.
Hello @Virinas-code !
(Even if late...) Thanks for the help, i'll try this with the fix !
Hello @Virinas-code !
(Even if late...) Thanks for the help, i'll try this with the fix !
Thank you !
hello, just a quick message to confirm the issue and the fix but it would be great to have it in an official version :)
Yes, but the PR is going to be merged.
Description
I'm trying to get de recent activity of my account on lichess, but receive an error when looking for activity if user exists. If user doesn't exists on Lichess, then I receive an empty response ( which seems OK for me )
What I Did
def get_activity(): API_TOKEN = 'abcdef1234' session = berserk.TokenSession(API_TOKEN) client = berserk.Client(session=session) print(client.users.get_activity_feed('username'))
if name == 'main': get_activity()