Home
Joost Sijm edited this page Jan 25, 2019
·
2 revisions
Welcome to the supremacy1914_wrapper wiki!
The data from the Supremacy 1914 API is split up between different states based on a number.
State | Description |
---|---|
All data | |
1 | Players |
2 | Score and coaltions |
4 | Market |
5 | Relations |
12 | Game information |
Function return data from supremacy as received.
Returns all
Returns game information
Returns players
Returns players
Returns score
Returns relations
Is raised when a game doesn't exist. Whenever a game is finished it disappears from the server and this error is raised.
The API server randomly changes its server URL. New URL can be found in exception message.