pip3 install xmltodict
pip3 install requests
- to update
sdk/dotnet.validDateTime- I messed with timezones and you should update this place if authentication doesn't work.
It's super basic, one thing to note: Device class automatically saves generated device. Call .reset() method to cleanup saved data.
It also stores a token to relogin without credentials.
- One creates a device
device = Device(language='ru') - Then a client must be created
client = Client(device=device) - Use
client.login()andclient.heartbeat()to keep your session alive as a guest - Use
client.login(email='supra@mail', password='1337')andclient.heartbeat()to keep authorized session alive
It seems that battle is simulated server-side so we have to simulate it client-side, and I don't have enough time to make it. Maybe later. But you could join first battle and leave. Server would insta-simulate data as soon as you reconnect.