![]() No parameters are required, however, if you are frequently making calls to this API, I'd appreciate it if you set a descriptive User-Agent. RequestsĪn HTTP GET to the invasions API endpoint,, will return the latest JSON response. Note: The header Access-Control-Allow-Origin is set to * on this API. ![]() This design is flexible and requires few extra resources to operate, though the data isn't as fresh as a result. On a separate timer, the TTR web layer periodically queries this central server for the latest invasion data, which is then cached and returned to everyone who queries the invasions API. Each district periodically sends current invasion data to a central server (though that server isn't our web server), where it is stored in memory. The design for this API is driven by the implementation of actual invasion tracking on TTR servers. Toontown Rewritten Invasions API OverviewĪPIs about the current status of the game world are always fun, so TTR has published our internal invasion tracker to the world via a publicly consumable API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |