Client
The Client class is the main interface for interacting with the Valorant API.
- class valopy.client.Client(api_key, redact_header=True)[source]
Bases:
objectClient for interacting with the Valorant API.
- adapter
The adapter used for making HTTP requests.
- Type:
Adapter
- async get_account_v1(name, tag, force_update=False)[source]
Get Account V1 information.
- Parameters:
name (str) – The name of the account.
tag (str) – The tag of the account.
force_update (bool, optional) – Whether to force update the account information, by default False
- Returns:
The Account V1 information.
- Return type:
- async get_account_v2(name, tag, force_update=False)[source]
Get Account V2 information.
- Parameters:
name (str) – The name of the account.
tag (str) – The tag of the account.
force_update (bool, optional) – Whether to force update the account information, by default False
- Returns:
The Account V2 information.
- Return type: