Interface: APIPlayer
/players/{playerTag}
Properties
name
• name: string
Defined in
tag
• tag: string
Defined in
townHallLevel
• townHallLevel: number
Defined in
townHallWeaponLevel
• Optional
townHallWeaponLevel: number
Defined in
expLevel
• expLevel: number
Defined in
trophies
• trophies: number
Defined in
bestTrophies
• bestTrophies: number
Defined in
warStars
• warStars: number
Defined in
attackWins
• attackWins: number
Defined in
defenseWins
• defenseWins: number
Defined in
builderHallLevel
• Optional
builderHallLevel: number
Defined in
builderBaseTrophies
• Optional
builderBaseTrophies: number
Defined in
bestBuilderBaseTrophies
• Optional
bestBuilderBaseTrophies: number
Defined in
donations
• donations: number
Defined in
donationsReceived
• donationsReceived: number
Defined in
clanCapitalContributions
• clanCapitalContributions: number
Defined in
role
• Optional
role: string
Defined in
warPreference
• Optional
warPreference: "in"
| "out"
Defined in
clan
• Optional
clan: APIPlayerClan
Defined in
league
• Optional
league: APILeague
Defined in
builderBaseLeague
• Optional
builderBaseLeague: Object
Type declaration
Name | Type |
---|---|
id | number |
name | string |
Defined in
legendStatistics
• Optional
legendStatistics: APILegendStatistics
Defined in
achievements
• achievements: APIPlayerAchievement
[]
Defined in
troops
• troops: APIPlayerItem
[]
Defined in
heroes
• heroes: APIPlayerItem
[]
Defined in
spells
• spells: APIPlayerItem
[]
Defined in
heroEquipment
• heroEquipment: APIPlayerItem
[]
Defined in
labels
• labels: APILabel
[]
Defined in
playerHouse
• Optional
playerHouse: APIPlayerHouse