Skip to main content

Interface: APIPlayer

/players/{playerTag}

Properties

name

name: string

Defined in

types/api.ts:278


tag

tag: string

Defined in

types/api.ts:279


townHallLevel

townHallLevel: number

Defined in

types/api.ts:280


townHallWeaponLevel

Optional townHallWeaponLevel: number

Defined in

types/api.ts:281


expLevel

expLevel: number

Defined in

types/api.ts:282


trophies

trophies: number

Defined in

types/api.ts:283


bestTrophies

bestTrophies: number

Defined in

types/api.ts:284


warStars

warStars: number

Defined in

types/api.ts:285


attackWins

attackWins: number

Defined in

types/api.ts:286


defenseWins

defenseWins: number

Defined in

types/api.ts:287


builderHallLevel

Optional builderHallLevel: number

Defined in

types/api.ts:288


builderBaseTrophies

Optional builderBaseTrophies: number

Defined in

types/api.ts:289


bestBuilderBaseTrophies

Optional bestBuilderBaseTrophies: number

Defined in

types/api.ts:290


donations

donations: number

Defined in

types/api.ts:291


donationsReceived

donationsReceived: number

Defined in

types/api.ts:292


clanCapitalContributions

clanCapitalContributions: number

Defined in

types/api.ts:293


role

Optional role: string

Defined in

types/api.ts:294


warPreference

Optional warPreference: "in" | "out"

Defined in

types/api.ts:295


clan

Optional clan: APIPlayerClan

Defined in

types/api.ts:296


league

Optional league: APILeague

Defined in

types/api.ts:297


builderBaseLeague

Optional builderBaseLeague: Object

Type declaration

NameType
idnumber
namestring

Defined in

types/api.ts:298


legendStatistics

Optional legendStatistics: APILegendStatistics

Defined in

types/api.ts:302


achievements

achievements: APIPlayerAchievement[]

Defined in

types/api.ts:303


troops

troops: APIPlayerItem[]

Defined in

types/api.ts:304


heroes

heroes: APIPlayerItem[]

Defined in

types/api.ts:305


spells

spells: APIPlayerItem[]

Defined in

types/api.ts:306


heroEquipment

heroEquipment: APIPlayerItem[]

Defined in

types/api.ts:307


labels

labels: APILabel[]

Defined in

types/api.ts:308


playerHouse

Optional playerHouse: APIPlayerHouse

Defined in

types/api.ts:309