Code improvements

This commit is contained in:
DarkCat09 2022-03-18 18:38:36 +04:00
parent bb5978f8f5
commit 48f8090d2a
12 changed files with 207 additions and 187 deletions

12
examples/start_example.py Normal file
View file

@ -0,0 +1,12 @@
from getpass import getpass
from python_aternos import Client
user = input('Username: ')
pswd = getpass('Password: ')
aternos = Client.from_credentials(user, pswd)
srvs = aternos.servers
print(srvs)
s = srvs[0]
s.start()