Clan war
ClanWar
Bases: BaseModel
Source code in pyclasher/api/models/clan_war.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
attacks_per_member: int
property
attacks per member (usually 2 for regular war and 1 for clan war league)
:return: the attacks per member :rtype: int
clan: WarClan
property
clan in the war
:return: the clan in the war :rtype: WarClan
end_time: Time
property
end time of the clan war
:return: the end time of the clan war :rtype: Time
opponent: WarClan
property
opponent
:return: the clan's opponent :rtype: WarClan
preparation_start_time: Time
property
preparation start time of the clan war
:return: the preparation start time of the clan war :rtype: Time
start_time: Time
property
start time of the clan war
:return: the start time of the clan war :rtype: Time
state: ClanWarState
property
state of the clan war
:return: the state of the clan war :rtype: ClanWarState
team_size: int
property
team size of the war
:return: the war's team size :rtype: int