Contents [Hide]
Hello tool developers,
some new data export endpoints have recently been made available on the PTS server Singularity for testing and feedback.
Available Endpoints
Species Bonuses
/game/index.php?page=componentOnly&component=externaldataexport&action=speciesBonuses&asJson=1
- Method:
GET - Response format:
JSON
Account Information
/game/index.php?page=componentOnly&component=externaldataexport&action=accountInfo&asJson=1
- Method:
GET - Response format:
JSON
Technology Quantities
/game/index.php?page=componentOnly&component=externaldataexport&action=technologyQuantities&asJson=1
- Method:
GET - Response format:
JSON
Note: This endpoint returns only the currently active quantities of selected technologies. If a technology is inactive (for example because it is not selected or because population requirements are not met), the returned quantity will be 0.
Import / Export Information
/game/index.php?page=componentOnly&component=externaldataexport&action=importExportInfo&asJson=1
- Method:
GET - Response format:
JSON
Important
These endpoints are currently available on Singularity and should be considered Beta. Their structure and contents may change before they are made available on live servers.
The endpoints are only accessible from within an authenticated game session and cannot be accessed externally without being logged into the account whose data is being requested.
Feedback & Requests
Feel free to explore these endpoints and provide feedback on their structure, contents, and usability.
If there is account data that you currently cannot access, or if you have suggestions for additional endpoints, please post them in this thread. Constructive and technically feasible suggestions can be forwarded for consideration.
Thank you for helping improve the tooling ecosystem around OGame.