Skip to content

Resource BattleLootSummaryResource

CrucifiedPain edited this page Jun 26, 2026 · 10 revisions

BattleLootSummaryResource (client.battle_loot_summary)

Endpoints: • battleLootSummary.getByBattleAndUser

.get_by_battle_and_user()

Get the loot summary for a specific user in a specific battle.

Signature

await client.battlelootsummary.get_by_battle_and_user(battle_id: 'str', user_id: 'str') -> 'BattleLootSummary'

Parameters

Name Type Default
battle_id str *Required*
user_id str *Required*

Return Models

BattleLootPoolItem

Field Type Required Description
_id string \| null
__v integer \| null
item object
pool string
rank integer
round string \| null

BattleLootSummary

Field Type Required Description
_id string \| null
__v integer \| null
v integer \| null
battle string
case1Count integer
case2Count integer
createdAt string
hits integer
poolLoot array[BattleLootPoolItem]
totalDmg integer
totalMoneyFromBounty integer
totalMoneyFromContract integer
updatedAt string
user string

.invalidate_cache()

Clear the SWR cache for all resources.

Signature

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

Clone this wiki locally