-
Notifications
You must be signed in to change notification settings - Fork 2
Resource ItemTradingResource
CrucifiedPain edited this page Jun 26, 2026
·
9 revisions
Endpoints: • itemTrading.getPrices • tradingOrder.getTopOrders • tradingOrder.getPublicOrdersByOwner • itemOffer.getById
Get a specific item market offer by ID.
await client.itemtrading.get_offer(item_offer_id: 'str') -> 'ItemOffer'| Name | Type | Default |
|---|---|---|
item_offer_id |
str |
*Required* |
Client-side helper: get the price for a single item.
await client.itemtrading.get_price(item_code: 'str') -> 'ItemPrice | None'| Name | Type | Default |
|---|---|---|
item_code |
str |
*Required* |
Get current market prices for all items. Returns a dict keyed by item code.
await client.itemtrading.get_prices() -> 'dict[str, ItemPrice]'Get all public trading orders for a country's market, grouped by buy/sell and with aggregated statistics.
Args: country_id: The country whose public market orders to fetch.
Returns:
A :class:PublicOrdersSummary containing buy orders, sell orders,
combined orders, total invested currency, and per-item sell quantities.
await client.itemtrading.get_public_orders_by_owner(country_id: 'str') -> 'PublicOrdersSummary'| Name | Type | Default |
|---|---|---|
country_id |
str |
*Required* |
Get the best buy/sell orders for a given item.
await client.itemtrading.get_top_orders(item_code: 'str', *, limit: 'int' = 10) -> 'list[TradingOrder]'| Name | Type | Default |
|---|---|---|
item_code |
str |
*Required* |
limit |
int |
10 |
Clear the SWR cache for all resources.
await client.itemtrading.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