-
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 |
Optional | |
__v |
integer |
Optional | |
battle |
string |
Required | The battle. |
bids |
array[MercenaryContractAuctionBid] |
Required | The bids. |
budget |
integer | number |
Required | The budget. |
country |
string |
Required | The UUID of the country this user holds citizenship in. |
createdAt |
string |
Required | The timestamp when this record was created. |
createdBy |
string |
Required | The created by. |
currentPayout |
integer | number |
Required | The current payout. |
currentPerK |
integer | number |
Required | The current per k. |
currentWinner |
string |
Optional | The current winner. |
currentWinnerUser |
string |
Optional | The current winner user. |
duration |
integer |
Required | The duration. |
expiresAt |
string |
Required | The expires at. |
forCountry |
string |
Required | The for country. |
forCountrySide |
string |
Required | The for country side. |
initialPerK |
integer | number |
Required | The initial per k. |
minimumDamage |
integer | number |
Required | The minimum damage. |
professionalsOnly |
boolean |
Required | The professionals only. |
round |
string |
Required | The round. |
roundNumber |
integer |
Required | The round number. |
status |
string |
Required | The status. |
updatedAt |
string |
Required | The timestamp when this record was last modified. |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
bidAt |
string |
Required | The bid at. |
mu |
string |
Required | The UUID of the Military Unit this user belongs to. |
payout |
integer | number |
Required | The payout. |
perK |
integer | number |
Required | The per k. |
user |
string |
Required | The user. |
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 |
None |
limit |
int |
10 |
cursor |
str |
None |
auto_items |
bool |
False |
max_pages |
int | float |
inf |
cursor_end |
str |
None |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
items |
array[MercenaryContractAuction] |
Required | |
nextCursor |
string |
Optional | |
hasMore |
boolean |
Optional |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
battle |
string |
Required | The battle. |
bids |
array[MercenaryContractAuctionBid] |
Required | The bids. |
budget |
integer | number |
Required | The budget. |
country |
string |
Required | The UUID of the country this user holds citizenship in. |
createdAt |
string |
Required | The timestamp when this record was created. |
createdBy |
string |
Required | The created by. |
currentPayout |
integer | number |
Required | The current payout. |
currentPerK |
integer | number |
Required | The current per k. |
currentWinner |
string |
Optional | The current winner. |
currentWinnerUser |
string |
Optional | The current winner user. |
duration |
integer |
Required | The duration. |
expiresAt |
string |
Required | The expires at. |
forCountry |
string |
Required | The for country. |
forCountrySide |
string |
Required | The for country side. |
initialPerK |
integer | number |
Required | The initial per k. |
minimumDamage |
integer | number |
Required | The minimum damage. |
professionalsOnly |
boolean |
Required | The professionals only. |
round |
string |
Required | The round. |
roundNumber |
integer |
Required | The round number. |
status |
string |
Required | The status. |
updatedAt |
string |
Required | The timestamp when this record was last modified. |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
bidAt |
string |
Required | The bid at. |
mu |
string |
Required | The UUID of the Military Unit this user belongs to. |
payout |
integer | number |
Required | The payout. |
perK |
integer | number |
Required | The per k. |
user |
string |
Required | The user. |
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