Clan war log
ClanWarLog
Bases: IterBaseModel
clan war log model
can be iterated over
Source code in pyclasher/api/models/clan_war_log.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
|
ClanWarLogEntry
Bases: BaseModel
clan war log entry model
Source code in pyclasher/api/models/clan_war_log.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
attacks_per_member: int
property
attack count per member
:return: the attack count per member (usually 2 for regular war and 1 for clan war league) :rtype: int
clan: WarClan
property
clan of the clan war
:return: the clan of the clan 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 of the clan war
:return: the opponent of the clan war :rtype: WarClan
result: ClanWarResult
property
result of the clan war
:return: the result of the clan war :rtype: ClanWarResult
team_size: int
property
clan war team size
:return: the clan war team size :rtype: int