-
Notifications
You must be signed in to change notification settings - Fork 2
Resource MercenaryContractAuctionResource
CrucifiedPain edited this page Jun 26, 2026
·
11 revisions
Endpoints: • mercenaryContractAuction.getPaginatedAuctions
Fetch all items across all pages concurrently using parallel time-slicing.
await client.mercenarycontractauction.collect_all(**kwargs: 'typing.Any') -> 'list[MercenaryContractAuction]'| Name | Type | Default |
|---|---|---|
kwargs |
Any |
*Required* |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
battle |
string |
Yes | |
bids |
array |
Yes | |
budget |
`integer | number` | Yes |
country |
string |
Yes | |
createdAt |
string |
Yes | |
createdBy |
string |
Yes | |
currentPayout |
`integer | number` | Yes |
currentPerK |
`integer | number` | Yes |
currentWinner |
`string | null` | No |
currentWinnerUser |
`string | null` | No |
duration |
integer |
Yes | |
expiresAt |
string |
Yes | |
forCountry |
string |
Yes | |
forCountrySide |
string |
Yes | |
initialPerK |
`integer | number` | Yes |
minimumDamage |
`integer | number` | Yes |
professionalsOnly |
boolean |
Yes | |
round |
string |
Yes | |
roundNumber |
integer |
Yes | |
status |
string |
Yes | |
updatedAt |
string |
Yes |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
bidAt |
string |
Yes | |
mu |
string |
Yes | |
payout |
`integer | number` | Yes |
perK |
`integer | number` | Yes |
user |
string |
Yes |
Get mercenary contract auctions (cursor-paginated).
await client.mercenarycontractauction.get_paginated_auctions(*, country_id: 'str | None' = None, battle_id: 'str | None' = None, status: 'MercenaryAuctionStatus | str | None' = None, limit: 'int' = 10, cursor: 'str | None' = None, auto_items: 'bool' = False, max_pages: 'int | float' = inf, cursor_end: 'str | None' = None) -> 'CursorPage[MercenaryContractAuction] | AsyncIterator[MercenaryContractAuction]'| Name | Type | Default |
|---|---|---|
country_id |
`str | None` |
battle_id |
`str | None` |
status |
`MercenaryAuctionStatus | str |
limit |
int |
10 |
cursor |
`str | None` |
auto_items |
bool |
False |
max_pages |
`int | float` |
cursor_end |
`str | None` |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
items |
array |
Yes | |
nextCursor |
`string | null` | No |
hasMore |
boolean |
No |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
battle |
string |
Yes | |
bids |
array |
Yes | |
budget |
`integer | number` | Yes |
country |
string |
Yes | |
createdAt |
string |
Yes | |
createdBy |
string |
Yes | |
currentPayout |
`integer | number` | Yes |
currentPerK |
`integer | number` | Yes |
currentWinner |
`string | null` | No |
currentWinnerUser |
`string | null` | No |
duration |
integer |
Yes | |
expiresAt |
string |
Yes | |
forCountry |
string |
Yes | |
forCountrySide |
string |
Yes | |
initialPerK |
`integer | number` | Yes |
minimumDamage |
`integer | number` | Yes |
professionalsOnly |
boolean |
Yes | |
round |
string |
Yes | |
roundNumber |
integer |
Yes | |
status |
string |
Yes | |
updatedAt |
string |
Yes |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
`string | null` | No |
__v |
`integer | null` | No |
bidAt |
string |
Yes | |
mu |
string |
Yes | |
payout |
`integer | number` | Yes |
perK |
`integer | number` | Yes |
user |
string |
Yes |
Clear the SWR cache for all resources.
await client.mercenarycontractauction.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