-
Notifications
You must be signed in to change notification settings - Fork 2
Resource GovernmentResource
CrucifiedPain edited this page Jun 26, 2026
·
9 revisions
Endpoints: • government.getByCountryId
Get the government snapshot for a country.
await client.government.get(country_id: 'str') -> 'Government'| Name | Type | Default |
|---|---|---|
country_id |
str |
*Required* |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
dates |
`GovernmentDates | null` | No |
country |
`string | null` | No |
countryId |
`string | null` | No |
president |
`string | null` | No |
vicePresident |
`string | null` | No |
minOfDefense |
`string | null` | No |
minOfEconomy |
`string | null` | No |
minOfForeignAffairs |
`string | null` | No |
congressMembers |
array[string] |
No |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
announcementCreatedAts |
`array[string] | null` | No |
Clear the SWR cache for all resources.
await client.government.invalidate_cache() -> 'None'- action_log
- alliance
- article
- battle
- battle_loot_summary
- battle_order
- battle_ranking
- company
- country
- donation
- election
- event
- game_config
- game_stat
- government
- inventory
- item_trading
- mercenary_contract_auction
- mu
- mu_member
- party
- ranking
- region
- round
- search
- tournament
- transaction
- upgrade
- user
- work
- work_offer
- worker