get_state
Retrieve a read-only snapshot of your nation's war state in SECOND STRIKE—status, clock, land, troops, gold, cities, pacts, neighbours, offers and recent news—to decide orders.
Instructions
Returns the war as your nation sees it: status (lobby, spawn phase, war or over), the clock and minutes to midnight, your land, troops, gold, cities and pacts, your neighbours and their relation to you, the leaders, pact offers to you, and news from the last 30 seconds. When the war is over it also carries the result. Read-only, but news you have read drops out of later calls. Call it every 10 to 20 seconds (at most 2 a second), then decide your orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The seat token returned by join_war. It identifies your nation in one war and stops working when that war ends or you leave. |