API Reference clashofclans v1.2.0

modules

Modules

Check if the APi request failed due to a denied access.

Check if the API request failed due to a bad request (like a wrong URL/path).

Returns an error if the given APi token's IP isn't whitelisted

Check if the API request failed due to a maintenance break.

Returns an error if the given player/clantag doesn't exist.

Basic clan module with functions like

Basic player module with functions like

Extended clan module with detailed maps, lists and informations

Extended player module with detailed maps, lists and informations

Extendend and detailed legend league module

Displays information about the current gold pass season

Returns a list and map with all informations about a specific league

This module is used to get the clan's versus trophies.

This module is used to get the clan's capital level.

This module is used to get the clan's capital districts.

Returns all kind of information about a clans raidseason

All kind of informations about a clans location such as

This module is used to get the clan's members amount (integer) or the members list (map).

Returns the whole data structure of a clan without filters. DO NOT USE THIS MODULE DIRECTLY.

This module is used to get the clan's requirements such as

Returns informations about the current gold pass season such as

Returns a list of a specific leagues and their information (map).

Returns the whole data structure of a league without filters. DO NOT USE THIS MODULE DIRECTLY.

Returns informations about a location (filter: location id*)

Returns all players informations without filters. DO NOT USE THIS MODULE DIRECTLY.