Toontown rewritten invasion tracker

broken image
broken image
broken image

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.

broken image

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.

broken image