DarkCat09 / python-aternos

[UNMAINTAINED] Unofficial Aternos API written in Python
https://pypi.org/project/python-aternos/
Apache License 2.0
92 stars 13 forks source link

Client() returns None #76

Closed Supslike closed 1 year ago

Supslike commented 1 year ago

Capture

Code: Capture JPGasdsa

DarkCat09 commented 1 year ago

aternos_client.login doesn't return anything, but you assign its returned value to aternos

DarkCat09 commented 1 year ago

Oh, and I've noticed a typo in readme.
To request servers list:

at = Client()
at.login('user', 'password')

acc = at.account
server = acc.list_servers()[0]
Supslike commented 1 year ago

is it possible to also solve that userwarning above?

DarkCat09 commented 1 year ago

is it possible to also solve that userwarning above?

@Supslike, as far as I know, the warning about timezone appears only on Replit. It doesn't break anything, so I won't search for the solution :)