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 Optional
__v integer Optional
item object Required
pool string Required The pool.
rank integer Required The rank.
round string Optional The round.

BattleLootSummary

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.

.invalidate_cache()

Clear the SWR cache for all resources.

Signature

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

Clone this wiki locally