Skip to contents

Clans

Access clan information

coc_get_capital_raid_seasons()
Get Capital Raid Seasons
coc_get_clan()
Get a clan
coc_get_clan_members()
Get current clan members
coc_get_clan_search()
Search Clans
coc_get_war_current()
Get current Clan War
coc_get_war_log()
Get Clan War Log

Players

Access player information

coc_get_player()
Get a single player

Locations

Access information for a location

coc_get_location()
Get information for one location
coc_get_locations()
Get Locations
coc_get_ranking_builderbase_clans()
Get Builder Base Clan Rankings
coc_get_ranking_builderbase_players()
Get Builder Base Player Rankings
coc_get_ranking_capitals()
Get Capitals Rankings
coc_get_ranking_clans()
Get Clan Rankings
coc_get_ranking_players()
Get Player Rankings
coc_get_ranking_versus_clans()
Get Versus Clan Rankings
coc_get_ranking_versus_players()
Get Versus Player Rankings

Leagues

Access information for leagues

coc_get_builderbase_league()
Get information for one Builder Base league
coc_get_builderbase_leagues()
Get Builder Base Leagues
coc_get_capital_league()
Get information for one capital league
coc_get_capital_leagues()
Get Capital Leagues
coc_get_league()
Get information for one league
coc_get_league_seaons()
Get seasons for one league
coc_get_leagues()
Get Leagues
coc_get_war_league()
Get information for one war league
coc_get_war_leagues()
Get War Leagues

Other functions

Other functions, including working with keys

coc_get_clan_labels()
Get clan labels
coc_get_goldpass()
Get Gold Pass Season Information
coc_get_player_labels()
Get player labels
has_clash_key() get_clash_key() coc_get_key() coc_has_key()
Check or Get Clash of Clans API Key
set_clash_key() coc_set_key()
Add Entry to Renviron