get_state
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, unless you pass since: the newsCursor from your last state, which returns every news line after it (up to the last 300). Call it every 10 to 20 seconds (at most 2 a second), then decide your orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Optional: the newsCursor from your previous get_state. Returns every news line after it, so nothing is lost between calls. | |
| 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. |