Clan

class clash_royale.models.clan.ClanMember[source]

Represents a member of a clan.

tag: str
name: str
role: Literal['leader', 'coLeader', 'elder', 'admin', 'member', 'notMember']
exp_level: int
trophies: int
arena: Arena
clan_rank: int
previous_clan_rank: int
donations: int
donations_received: int
clan_chest_points: int
class clash_royale.models.clan.Clan[source]

Represents a Clash Royale clan.

tag: str
name: str
type: Literal['open', 'inviteOnly', 'closed']
description: str
badge_id: int
badge_urls: Badge | None
clan_score: int
clan_war_trophies: int
location: Location
required_trophies: int
donations_per_week: int
clan_chest_status: Literal['inactive', 'active', 'completed', 'unknown']
clan_chest_level: int
clan_chest_max_level: int
members: int
member_list: list[ClanMember]
class clash_royale.models.clan.ClanSearchResult[source]

Represents a clan in search results.

tag: str
name: str
type: Literal['open', 'inviteOnly', 'closed']
badge_id: int
badge_urls: Badge | None
clan_score: int
clan_war_trophies: int
location: Location
required_trophies: int
donations_per_week: int
members: int
class clash_royale.models.clan.RiverRaceParticipant[source]

Represents a participant in a river race.

tag: str
name: str
fame: int
repair_points: int
boat_attacks: int
decks_used: int
decks_used_today: int
class clash_royale.models.clan.RiverRaceClan[source]

Represents a clan participating in a river race.

tag: str
name: str
badge_id: int
clan_score: int
fame: int
repair_points: int
finish_time: str | None
period_points: int
participants: list[RiverRaceParticipant]
class clash_royale.models.clan.RiverRaceLogStanding[source]

Represents a clan standing in a river race log.

rank: int
trophy_change: int
clan: RiverRaceClan
class clash_royale.models.clan.RiverRace[source]

Represents a river race.

state: Literal['clanNotFound', 'accessDenied', 'matchmaking', 'matched', 'full', 'ended']
clan: RiverRaceClan
clans: list[RiverRaceClan]
collection_end_time: str | None
war_end_time: str | None
section_index: int
period_index: int
period_type: Literal['training', 'warDay', 'colosseum']
period_logs: list[PeriodLog]
class clash_royale.models.clan.RiverRaceLog[source]

Represents a river race log entry.

season_id: int
section_index: int
created_date: str
standings: list[RiverRaceLogStanding]
class clash_royale.models.clan.PeriodLog[source]

Represents a period log.

period_index: int
items: list[PeriodLogEntry]
class clash_royale.models.clan.PeriodLogEntry[source]

Represents a period log entry.

clan: PeriodLogEntryClan
points_earned: int
progress_start_of_day: int
progress_end_of_day: int
end_of_day_rank: int
progress_earned: int
num_of_defenses_remaining: int
progress_earned_from_defenses: int
class clash_royale.models.clan.PeriodLogEntryClan[source]

Represents a clan in a period log entry.

tag: str