coc
rewrite
Code Overview
Clients and Logging In
Models
Utility Functions
Events
Custom Classes
Exceptions
Discord Links Extension
Overview
API Reference
Examples
Examples
Discord Bot
Events
War Logs
Miscellaneous
Migrating to coc.py v1.0
Changelog
Acknowledgements
coc
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
A
Achievement (class in coc)
,
[1]
achievement_cls (coc.Player attribute)
,
[1]
achievements() (coc.Player property)
,
[1]
add_clan_updates() (coc.EventsClient method)
,
[1]
add_events() (coc.EventsClient method)
,
[1]
add_link() (coc.ext.discordlinks.DiscordLinkClient method)
add_player_updates() (coc.EventsClient method)
,
[1]
add_war_updates() (coc.EventsClient method)
,
[1]
attack_wins (coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
attacker() (coc.WarAttack property)
,
[1]
attacker_tag (coc.WarAttack attribute)
,
[1]
attacks() (coc.ClanWar property)
,
[1]
(coc.ClanWarMember property)
,
[1]
(coc.WarClan property)
,
[1]
attacks_used (coc.WarClan attribute)
,
[1]
B
Badge (class in coc)
,
[1]
badge (coc.BaseClan attribute)
,
[1]
(coc.Clan attribute)
,
[1]
(coc.ClanWarLeagueClan attribute)
,
[1]
(coc.Label attribute)
,
[1]
(coc.PlayerClan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
BaseClan (class in coc)
,
[1]
BasePlayer (class in coc)
,
[1]
best_opponent_attack() (coc.ClanWarMember property)
,
[1]
best_season (coc.LegendStatistics attribute)
,
[1]
best_trophies (coc.Player attribute)
,
[1]
best_versus_trophies (coc.Player attribute)
,
[1]
builder_hall (coc.Player attribute)
,
[1]
builder_troops() (coc.Player property)
,
[1]
C
Clan (class in coc)
,
[1]
clan (coc.ClanMember attribute)
,
[1]
(coc.ClanWarLogEntry attribute)
,
[1]
(coc.ClanWarMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
clan_cls (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
clan_previous_rank (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
clan_rank (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
ClanMember (class in coc)
,
[1]
clans() (coc.ClanWarLeagueGroup property)
,
[1]
ClanWar (class in coc)
,
[1]
ClanWarLeagueClan (class in coc)
,
[1]
ClanWarLeagueClanMember (class in coc)
,
[1]
ClanWarLeagueGroup (class in coc)
,
[1]
ClanWarLogEntry (class in coc)
,
[1]
ClanWarMember (class in coc)
,
[1]
ClashOfClansException
,
[1]
Client (class in coc)
,
[1]
close() (coc.Client method)
,
[1]
(coc.EventsClient method)
,
[1]
coc.ACHIEVEMENT_ORDER (in module coc)
coc.BUILDER_TROOPS_ORDER (in module coc)
coc.DARK_ELIXIR_SPELL_ORDER (in module coc)
coc.DARK_ELIXIR_TROOP_ORDER (in module coc)
coc.ELIXIR_SPELL_ORDER (in module coc)
coc.ELIXIR_TROOP_ORDER (in module coc)
coc.HERO_ORDER (in module coc)
coc.HOME_TROOP_ORDER (in module coc)
coc.SIEGE_MACHINE_ORDER (in module coc)
coc.SPELL_ORDER (in module coc)
coc.SUPER_TROOP_ORDER (in module coc)
completion_info (coc.Achievement attribute)
,
[1]
correct_tag() (in module coc.utils)
country_code (coc.Location attribute)
,
[1]
current_preparation (coc.WarRound attribute)
current_season (coc.LegendStatistics attribute)
,
[1]
current_war (coc.WarRound attribute)
D
defender() (coc.WarAttack property)
,
[1]
defender_tag (coc.WarAttack attribute)
,
[1]
defense_count (coc.ClanWarMember attribute)
,
[1]
defense_wins (coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
defenses() (coc.ClanWarMember property)
,
[1]
(coc.WarClan property)
,
[1]
delete_link() (coc.ext.discordlinks.DiscordLinkClient method)
description (coc.Clan attribute)
,
[1]
destruction (coc.WarAttack attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
DiscordLinkClient (class in coc.ext.discordlinks)
dispatch() (coc.Client method)
,
[1]
(coc.EventsClient method)
,
[1]
donations (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
E
end_time (coc.ClanWar attribute)
,
[1]
(coc.ClanWarLogEntry attribute)
,
[1]
event() (coc.EventsClient method)
,
[1]
EventsClient (class in coc)
,
[1]
exp_earned (coc.WarClan attribute)
,
[1]
exp_level (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
F
find() (in module coc.utils)
Forbidden
,
[1]
from_timestamp() (in module coc.utils)
G
GatewayError
,
[1]
get() (in module coc.utils)
get_achievement() (coc.Player method)
,
[1]
get_attack() (coc.ClanWar method)
,
[1]
get_clan() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_clan_labels() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_clan_war() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_clan_wars() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_clans() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_current_war() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_current_wars() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_defenses() (coc.ClanWar method)
,
[1]
get_detailed_clan() (coc.ClanMember method)
,
[1]
(coc.Player method)
,
[1]
(coc.RankedPlayer method)
,
[1]
get_detailed_members() (coc.BaseClan method)
,
[1]
(coc.Clan method)
,
[1]
(coc.ClanWarLeagueClan method)
,
[1]
(coc.PlayerClan method)
,
[1]
(coc.RankedClan method)
,
[1]
(coc.WarClan method)
,
[1]
get_hero() (coc.Player method)
,
[1]
get_league() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_league_group() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_league_named() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_league_war() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_league_wars() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_link() (coc.ext.discordlinks.DiscordLinkClient method)
get_linked_players() (coc.ext.discordlinks.DiscordLinkClient method)
get_links() (coc.ext.discordlinks.DiscordLinkClient method)
get_location() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_location_clans() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_location_clans_versus() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_location_named() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_location_players() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_location_players_versus() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_many_linked_players() (coc.ext.discordlinks.DiscordLinkClient method)
get_member() (coc.Clan method)
,
[1]
(coc.ClanWar method)
,
[1]
(coc.WarClan method)
,
[1]
get_member_by() (coc.Clan method)
,
[1]
(coc.ClanWar method)
,
[1]
get_members() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_player() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_player_labels() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_players() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_season_end() (in module coc.utils)
get_season_rankings() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_season_start() (in module coc.utils)
get_seasons() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_spell() (coc.Player method)
,
[1]
get_troop() (coc.Player method)
,
[1]
get_warlog() (coc.Client method)
,
[1]
(coc.EventsClient method)
get_wars() (coc.ClanWarLeagueGroup method)
,
[1]
get_wars_for_clan() (coc.ClanWarLeagueGroup method)
,
[1]
H
Hero (class in coc)
,
[1]
hero_cls (coc.Player attribute)
,
[1]
heroes() (coc.Player property)
,
[1]
home_troops() (coc.Player property)
,
[1]
HTTPException
,
[1]
I
Icon (class in coc)
,
[1]
icon (coc.League attribute)
,
[1]
id (coc.Label attribute)
,
[1]
(coc.League attribute)
,
[1]
(coc.Location attribute)
,
[1]
in_game_name (coc.Role attribute)
info (coc.Achievement attribute)
,
[1]
InvalidArgument
,
[1]
InvalidCredentials
,
[1]
is_builder_base() (coc.Achievement property)
,
[1]
(coc.Hero property)
,
[1]
(coc.Spell property)
,
[1]
(coc.Troop property)
,
[1]
is_completed() (coc.Achievement property)
,
[1]
is_country (coc.Location attribute)
,
[1]
is_cwl() (coc.ClanWar property)
,
[1]
is_fresh_attack() (coc.WarAttack property)
,
[1]
is_home_base() (coc.Achievement property)
,
[1]
(coc.Hero property)
,
[1]
(coc.Spell property)
,
[1]
(coc.Troop property)
,
[1]
is_league_entry() (coc.ClanWarLogEntry property)
,
[1]
is_max() (coc.Hero property)
,
[1]
(coc.Spell property)
,
[1]
(coc.Troop property)
,
[1]
is_opponent() (coc.ClanWarMember property)
,
[1]
(coc.WarClan property)
,
[1]
is_valid_tag() (in module coc.utils)
L
Label (class in coc)
,
[1]
label_cls (coc.Clan attribute)
,
[1]
(coc.Player attribute)
,
[1]
labels() (coc.Clan property)
,
[1]
(coc.Player property)
,
[1]
large (coc.Badge attribute)
,
[1]
League (class in coc)
,
[1]
league (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
league_cls (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
league_group (coc.ClanWar attribute)
,
[1]
legend_statistics (coc.Player attribute)
,
[1]
legend_trophies (coc.LegendStatistics attribute)
,
[1]
LegendStatistics (class in coc)
,
[1]
level (coc.BaseClan attribute)
,
[1]
(coc.Clan attribute)
,
[1]
,
[2]
,
[3]
(coc.ClanWarLeagueClan attribute)
,
[1]
(coc.Hero attribute)
,
[1]
(coc.PlayerClan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
(coc.Spell attribute)
,
[1]
(coc.Troop attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
localised_name (coc.League attribute)
,
[1]
(coc.Location attribute)
,
[1]
localised_short_name (coc.League attribute)
,
[1]
Location (class in coc)
,
[1]
location (coc.Clan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
login() (coc.Client method)
,
[1]
(coc.EventsClient method)
(in module coc)
,
[1]
(in module coc.ext.discordlinks)
loop (coc.Client attribute)
,
[1]
(coc.EventsClient attribute)
,
[1]
M
Maintenance
,
[1]
map_position (coc.ClanWarMember attribute)
,
[1]
max_level (coc.Hero attribute)
,
[1]
(coc.Spell attribute)
,
[1]
(coc.Troop attribute)
,
[1]
max_stars (coc.WarClan attribute)
,
[1]
medium (coc.Badge attribute)
,
[1]
(coc.Icon attribute)
,
[1]
member_cls (coc.Clan attribute)
,
[1]
member_count (coc.Clan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
members() (coc.Clan property)
,
[1]
(coc.ClanWar property)
,
[1]
(coc.ClanWarLeagueClan property)
,
[1]
(coc.WarClan property)
,
[1]
message (coc.HTTPException attribute)
,
[1]
N
name (coc.Achievement attribute)
,
[1]
(coc.BaseClan attribute)
,
[1]
(coc.BasePlayer attribute)
,
[1]
(coc.Clan attribute)
,
[1]
(coc.ClanMember attribute)
,
[1]
(coc.ClanWarLeagueClan attribute)
,
[1]
(coc.ClanWarLeagueClanMember attribute)
,
[1]
(coc.ClanWarMember attribute)
,
[1]
(coc.Hero attribute)
,
[1]
(coc.Label attribute)
,
[1]
(coc.League attribute)
,
[1]
(coc.Location attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.PlayerClan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
(coc.Spell attribute)
,
[1]
(coc.Troop attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
(coc.WarLeague attribute)
NotFound
,
[1]
now() (coc.Timestamp property)
,
[1]
number_of_rounds (coc.ClanWarLeagueGroup attribute)
,
[1]
O
on_clan_badge_change() (in module coc)
on_clan_description_change() (in module coc)
on_clan_level_change() (in module coc)
on_clan_member_donation() (in module coc)
on_clan_member_join() (in module coc)
on_clan_member_league_change() (in module coc)
on_clan_member_leave() (in module coc)
on_clan_member_level_change() (in module coc)
on_clan_member_name_change() (in module coc)
on_clan_member_rank_change() (in module coc)
on_clan_member_received() (in module coc)
on_clan_member_role_change() (in module coc)
on_clan_member_trophy_change() (in module coc)
on_clan_member_versus_trophy_change() (in module coc)
on_clan_public_war_log_change() (in module coc)
on_clan_required_trophies_change() (in module coc)
on_clan_type_change() (in module coc)
on_clan_war_frequency_change() (in module coc)
on_clan_war_loss_change() (in module coc)
on_clan_war_tie_change() (in module coc)
on_clan_war_win_change() (in module coc)
on_clan_war_win_streak_change() (in module coc)
on_event_error() (in module coc)
on_player_achievement_change() (in module coc)
on_player_attack_wins_change() (in module coc)
on_player_best_trophies_change() (in module coc)
on_player_best_versus_trophies_change() (in module coc)
on_player_builderhall_upgrade() (in module coc)
on_player_clan_badge_change() (in module coc)
on_player_clan_join() (in module coc)
on_player_clan_leave() (in module coc)
on_player_clan_level_change() (in module coc)
on_player_clan_rank_change() (in module coc)
on_player_defense_wins_change() (in module coc)
on_player_donations_change() (in module coc)
on_player_hero_upgrade() (in module coc)
on_player_league_change() (in module coc)
on_player_name_change() (in module coc)
on_player_previous_clan_rank_change() (in module coc)
on_player_received_change() (in module coc)
on_player_role_change() (in module coc)
on_player_spell_upgrade() (in module coc)
on_player_townhall_upgrade() (in module coc)
on_player_troop_upgrade() (in module coc)
on_player_trophies_change() (in module coc)
on_player_update() (in module coc)
on_player_versus_attack_change() (in module coc)
on_player_war_stars_change() (in module coc)
on_war_attack() (in module coc)
on_war_state_change() (in module coc)
on_war_update() (in module coc)
opponent (coc.ClanWarLogEntry attribute)
,
[1]
order (coc.WarAttack attribute)
,
[1]
P
Player (class in coc)
,
[1]
PlayerClan (class in coc)
,
[1]
points (coc.Clan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
preparation_start_time (coc.ClanWar attribute)
,
[1]
previous_best_opponent_attack() (coc.ClanWarMember property)
,
[1]
previous_rank (coc.RankedClan attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
previous_season (coc.LegendStatistics attribute)
,
[1]
previous_war (coc.WarRound attribute)
PrivateWarLog
,
[1]
public_war_log (coc.Clan attribute)
,
[1]
R
rank (coc.RankedClan attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
RankedClan (class in coc)
,
[1]
RankedPlayer (class in coc)
,
[1]
raw_time (coc.Timestamp attribute)
,
[1]
reason (coc.HTTPException attribute)
,
[1]
received (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
remove_clan_updates() (coc.EventsClient method)
,
[1]
remove_events() (coc.EventsClient method)
,
[1]
remove_player_updates() (coc.EventsClient method)
,
[1]
remove_war_updates() (coc.EventsClient method)
,
[1]
required_trophies (coc.Clan attribute)
,
[1]
reset_keys() (coc.Client method)
,
[1]
(coc.EventsClient method)
response (coc.HTTPException attribute)
,
[1]
result (coc.ClanWarLogEntry attribute)
,
[1]
Role (class in coc)
role (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
rounds (coc.ClanWarLeagueGroup attribute)
,
[1]
run_forever() (coc.EventsClient method)
,
[1]
S
save() (coc.Badge method)
,
[1]
(coc.Icon method)
,
[1]
search_clans() (coc.Client method)
,
[1]
(coc.EventsClient method)
search_leagues() (coc.Client method)
,
[1]
(coc.EventsClient method)
search_locations() (coc.Client method)
,
[1]
(coc.EventsClient method)
season (coc.ClanWarLeagueGroup attribute)
,
[1]
seconds_until() (coc.Timestamp property)
,
[1]
share_link() (coc.BaseClan property)
,
[1]
(coc.BasePlayer property)
,
[1]
(coc.Clan property)
,
[1]
(coc.ClanMember property)
,
[1]
(coc.ClanWarLeagueClan property)
,
[1]
(coc.ClanWarLeagueClanMember property)
,
[1]
(coc.ClanWarMember property)
,
[1]
(coc.Player property)
,
[1]
(coc.PlayerClan property)
,
[1]
(coc.RankedClan property)
,
[1]
(coc.RankedPlayer property)
,
[1]
(coc.WarClan property)
,
[1]
siege_machines() (coc.Player property)
,
[1]
small (coc.Badge attribute)
,
[1]
(coc.Icon attribute)
,
[1]
Spell (class in coc)
,
[1]
spell_cls (coc.Player attribute)
,
[1]
spells() (coc.Player property)
,
[1]
star_count() (coc.ClanWarMember property)
,
[1]
stars (coc.Achievement attribute)
,
[1]
(coc.WarAttack attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
start_time (coc.ClanWar attribute)
,
[1]
state (coc.ClanWar attribute)
,
[1]
(coc.ClanWarLeagueGroup attribute)
,
[1]
status (coc.HTTPException attribute)
,
[1]
status() (coc.ClanWar property)
,
[1]
T
tag (coc.BaseClan attribute)
,
[1]
(coc.BasePlayer attribute)
,
[1]
(coc.Clan attribute)
,
[1]
(coc.ClanMember attribute)
,
[1]
(coc.ClanWarLeagueClan attribute)
,
[1]
(coc.ClanWarLeagueClanMember attribute)
,
[1]
(coc.ClanWarMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.PlayerClan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
(coc.WarClan attribute)
,
[1]
target (coc.Achievement attribute)
,
[1]
team_size (coc.ClanWar attribute)
,
[1]
(coc.ClanWarLogEntry attribute)
,
[1]
time() (coc.Timestamp property)
,
[1]
Timestamp (class in coc)
,
[1]
tiny (coc.Icon attribute)
,
[1]
town_hall (coc.ClanWarLeagueClanMember attribute)
,
[1]
(coc.ClanWarMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
town_hall_weapon (coc.Player attribute)
,
[1]
Troop (class in coc)
,
[1]
troop_cls (coc.Player attribute)
,
[1]
troops() (coc.Player property)
,
[1]
type (coc.Clan attribute)
,
[1]
type() (coc.ClanWar property)
,
[1]
U
url (coc.Badge attribute)
,
[1]
(coc.Icon attribute)
,
[1]
V
value (coc.Achievement attribute)
,
[1]
versus_attack_wins (coc.Player attribute)
,
[1]
versus_points (coc.Clan attribute)
,
[1]
(coc.RankedClan attribute)
,
[1]
versus_trophies (coc.ClanMember attribute)
,
[1]
(coc.Player attribute)
,
[1]
(coc.RankedPlayer attribute)
,
[1]
,
[2]
,
[3]
village (coc.Achievement attribute)
,
[1]
(coc.Hero attribute)
,
[1]
(coc.Spell attribute)
,
[1]
(coc.Troop attribute)
,
[1]
W
war (coc.ClanWarMember attribute)
,
[1]
(coc.WarAttack attribute)
,
[1]
war_frequency (coc.Clan attribute)
,
[1]
war_league (coc.Clan attribute)
,
[1]
war_losses (coc.Clan attribute)
,
[1]
war_stars (coc.Player attribute)
,
[1]
war_tag (coc.ClanWar attribute)
,
[1]
war_ties (coc.Clan attribute)
,
[1]
war_win_streak (coc.Clan attribute)
,
[1]
war_wins (coc.Clan attribute)
,
[1]
WarAttack (class in coc)
,
[1]
WarClan (class in coc)
,
[1]
WarLeague (class in coc)
WarRound (class in coc)
Read the Docs
v: rewrite
Versions
latest
stable
rewrite
Downloads
On Read the Docs
Project Home
Builds