Clan and Player Attributes
Achievement
- class coc.Achievement
Represents a Clash of Clans Achievement.
- name
str: The name of the achievement.
- stars
int: The current stars achieved for the achievement.
- value
int: The number of X things attained for this achievement.
- target
int: The number of X things required to complete this achievement.
- info
str: Information regarding the achievement.
- completion_info
str: Information regarding completion of the achievement.
- village
str: EitherhomeorbuilderBase.
- property is_builder_base: bool
Returns a boolean which indicates if the achievement belongs to the builder base
- Type:
bool
- property is_clan_capital: bool
Returns a boolean which indicates if the achievement belongs to the clan capital
- Type:
bool
- property is_completed: bool
Returns a boolean which indicates whether the achievement is completed (3 stars achieved)
- Type:
bool
- property is_home_base: bool
Returns a boolean which indicates if the achievement belongs to the home base
- Type:
bool
Capital District
Label
Base League
League
Legend Statistics
PlayerHouseElement
- class coc.PlayerHouseElement
Represents an element of a player house.
- id
int: The id of the house element
- type
PlayerHouseElementType: The type of the house element