-
Notifications
You must be signed in to change notification settings - Fork 2
Resource BattleLootSummaryResource
CrucifiedPain edited this page Jun 26, 2026
·
10 revisions
Endpoints: • battleLootSummary.getByBattleAndUser
Get the loot summary for a specific user in a specific battle.
await client.battlelootsummary.get_by_battle_and_user(battle_id: 'str', user_id: 'str') -> 'BattleLootSummary'| Name | Type | Default |
|---|---|---|
battle_id |
str |
*Required* |
user_id |
str |
*Required* |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
item |
object |
Required | |
pool |
string |
Required | The pool. |
rank |
integer |
Required | The rank. |
round |
string |
Optional | The round. |
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string |
Optional | |
__v |
integer |
Optional | |
v |
integer |
Optional | The v. |
battle |
string |
Required | The battle. |
case1Count |
integer |
Required | The total number of case1. |
case2Count |
integer |
Required | The total number of case2. |
createdAt |
string |
Required | The timestamp when this record was created. |
hits |
integer |
Required | The hits. |
poolLoot |
array[BattleLootPoolItem] |
Required | The pool loot. |
totalDmg |
integer |
Required | The total dmg. |
totalMoneyFromBounty |
integer |
Required | The total money from bounty. |
totalMoneyFromContract |
integer |
Required | The total money from contract. |
updatedAt |
string |
Required | The timestamp when this record was last modified. |
user |
string |
Required | The user. |
Clear the SWR cache for all resources.
await client.battlelootsummary.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