-
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 |
❌ | |
__v |
integer \| null |
❌ | |
battle |
string |
✅ | |
bids |
array[MercenaryContractAuctionBid] |
✅ | |
budget |
integer \| number |
✅ | |
country |
string |
✅ | |
createdAt |
string |
✅ | |
createdBy |
string |
✅ | |
currentPayout |
integer \| number |
✅ | |
currentPerK |
integer \| number |
✅ | |
currentWinner |
string \| null |
❌ | |
currentWinnerUser |
string \| null |
❌ | |
duration |
integer |
✅ | |
expiresAt |
string |
✅ | |
forCountry |
string |
✅ | |
forCountrySide |
string |
✅ | |
initialPerK |
integer \| number |
✅ | |
minimumDamage |
integer \| number |
✅ | |
professionalsOnly |
boolean |
✅ | |
round |
string |
✅ | |
roundNumber |
integer |
✅ | |
status |
string |
✅ | |
updatedAt |
string |
✅ |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
bidAt |
string |
✅ | |
mu |
string |
✅ | |
payout |
integer \| number |
✅ | |
perK |
integer \| number |
✅ | |
user |
string |
✅ |
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 |
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 |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
items |
array[MercenaryContractAuction] |
✅ | |
nextCursor |
string \| null |
❌ | |
hasMore |
boolean |
❌ |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
battle |
string |
✅ | |
bids |
array[MercenaryContractAuctionBid] |
✅ | |
budget |
integer \| number |
✅ | |
country |
string |
✅ | |
createdAt |
string |
✅ | |
createdBy |
string |
✅ | |
currentPayout |
integer \| number |
✅ | |
currentPerK |
integer \| number |
✅ | |
currentWinner |
string \| null |
❌ | |
currentWinnerUser |
string \| null |
❌ | |
duration |
integer |
✅ | |
expiresAt |
string |
✅ | |
forCountry |
string |
✅ | |
forCountrySide |
string |
✅ | |
initialPerK |
integer \| number |
✅ | |
minimumDamage |
integer \| number |
✅ | |
professionalsOnly |
boolean |
✅ | |
round |
string |
✅ | |
roundNumber |
integer |
✅ | |
status |
string |
✅ | |
updatedAt |
string |
✅ |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
bidAt |
string |
✅ | |
mu |
string |
✅ | |
payout |
integer \| number |
✅ | |
perK |
integer \| number |
✅ | |
user |
string |
✅ |
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