-
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 |
❌ | |
__v |
integer \| null |
❌ | |
dates |
GovernmentDates \| null |
❌ | |
country |
string \| null |
❌ | |
countryId |
string \| null |
❌ | |
president |
string \| null |
❌ | |
vicePresident |
string \| null |
❌ | |
minOfDefense |
string \| null |
❌ | |
minOfEconomy |
string \| null |
❌ | |
minOfForeignAffairs |
string \| null |
❌ | |
congressMembers |
array[string] |
❌ |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
announcementCreatedAts |
array[string] \| null |
❌ |
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