Client
Client class is used to interact with the Clash of Clans API.
This class provides methods to interact with the Clash of Clans API by making HTTP requests using the provided requestHandler. It encapsulates the logic for making specific API calls and handling the response data.
Parameters
The email used for authentication.
The password used for authentication.
The configuration for the client.
Inheritors
Constructors
Functions
Retrieves information about a specific Builder Base league based on the provided leagueId.
Retrieves the list of Builder Base leagues.
Retrieves detailed information about a specific capital league based on the provided leagueId.
Retrieves a list of capital leagues.
Retrieves the capital raid seasons of a clan based on the provided clanTag.
Retrieves the current war of a clan based on the provided clanTag.
Retrieves a list of clan labels.
Retrieves the list of members in a clan based on the provided clanTag.
Gets the Clan War League group for the clan specified by clanTag.
Gets the Clan War League war specified by warTag.
Retrieves the war log of a clan based on the provided clanTag.
Retrieves the current Gold Pass season information.
Retrieves a list of leagues.
Retrieves a list of seasons for a specific league based on the provided leagueId.
Retrieves information about a specific location based on the provided locationId.
Retrieves the list of clans ranked in the Capital for a specific location based on the provided locationId.
Retrieves the list of clans ranked in the Builder Base for a specific location based on the provided locationId.
Retrieves the list of clans ranked in a specific location based on the provided locationId.
Retrieves the list of players ranked in the Builder Base for a specific location based on the provided locationId.
Retrieves the list of players ranked in a specific location based on the provided locationId.
Retrieves the list of available locations.
Retrieves a list of player labels.
Retrieves information about a specific War League based on the provided leagueId.
Retrieves the list of War Leagues.
Searches for clans based on the provided searchClanQuery.