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