This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
python-aternos/examples/start_example.py
2022-03-18 18:38:36 +04:00

12 lines
224 B
Python

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()