Skip to content

Resource MercenaryContractAuctionResource

CrucifiedPain edited this page Jun 26, 2026 · 11 revisions

MercenaryContractAuctionResource (client.mercenary_contract_auction)

Endpoints: • mercenaryContractAuction.getPaginatedAuctions

.collect_all()

Fetch all items across all pages concurrently using parallel time-slicing.

Signature

await client.mercenarycontractauction.collect_all(**kwargs: 'typing.Any') -> 'list[MercenaryContractAuction]'

Parameters

Name Type Default
kwargs Any *Required*

.get_paginated_auctions()

Get mercenary contract auctions (cursor-paginated).

Signature

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]'

Parameters

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`

.invalidate_cache()

Clear the SWR cache for all resources.

Signature

await client.mercenarycontractauction.invalidate_cache() -> 'None'

Clone this wiki locally