stop () # You can also find server by IP testserv = None for serv in servs : if serv. list_servers () # Get the first server myserv = servs # Start myserv. login_with_session ( 'ATERNOS_SESSION cookie value' ) # Get servers list servs = aternos. login_hashed ( 'example', 'cc03e747a6afbbcbf8be7668acfebee5' ) # -OR- # with session cookie aternos. login ( 'example', 'test123' ) # -OR- # with username and MD5 hashed password aternos. Here is an example how to use the API: # Import from python_aternos import Client # Create object aternos = Client () # Log in # with username and password aternos. You can start/stop your Aternos server, calling start() or stop(). Then request the servers list using list_servers(). To use Aternos API in your Python script, import itĪnd login with your username and password or its MD5 hash. Pip install -no-deps python-aternos Development $ git clone If you have problems with it, and then execute: Install Common $ pip install python-aternos If Aternos detects violation of ToS and bans your accountĪnd #46). I always try to hide automated python-aternos requestsīut you should make backups to restore your world You must not use any software or APIs for automated access,īeacuse they don't receive money from advertisting in this case.
0 Comments
Leave a Reply. |