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` No
__v `integer null` No
item object Yes
pool string Yes
rank integer Yes
round `string null` No

BattleLootSummary

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

.invalidate_cache()

Clear the SWR cache for all resources.

Signature

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

Clone this wiki locally