Class AccountV1Endpoints
AccountV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#account-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class AccountV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetActiveRegion(RegionalRoute, String, String, Nullable<CancellationToken>)
Get active region (lol and tft) Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getActiveRegion
Declaration
public AccountRegion GetActiveRegion(RegionalRoute route, string game, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | game | (required, in path) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
AccountRegion |
GetActiveRegionAsync(RegionalRoute, String, String, Nullable<CancellationToken>)
Get active region (lol and tft) Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getActiveRegion
Declaration
public Task<AccountRegion> GetActiveRegionAsync(RegionalRoute route, string game, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | game | (required, in path) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AccountRegion> |
GetActiveShard(RegionalRoute, String, String, Nullable<CancellationToken>)
Get active shard for a player Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getActiveShard
Declaration
public ActiveShard GetActiveShard(RegionalRoute route, string game, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | game | (required, in path) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
ActiveShard |
GetActiveShardAsync(RegionalRoute, String, String, Nullable<CancellationToken>)
Get active shard for a player Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getActiveShard
Declaration
public Task<ActiveShard> GetActiveShardAsync(RegionalRoute route, string game, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | game | (required, in path) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ActiveShard> |
GetByAccessToken(RegionalRoute, Nullable<CancellationToken>)
Get account by access token Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByAccessToken
Declaration
public Account GetByAccessToken(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Account |
GetByAccessTokenAsync(RegionalRoute, Nullable<CancellationToken>)
Get account by access token Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByAccessToken
Declaration
public Task<Account> GetByAccessTokenAsync(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Account> |
GetByPuuid(RegionalRoute, String, Nullable<CancellationToken>)
Get account by puuid Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByPuuid
Declaration
public Account GetByPuuid(RegionalRoute route, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Account |
GetByPuuidAsync(RegionalRoute, String, Nullable<CancellationToken>)
Get account by puuid Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByPuuid
Declaration
public Task<Account> GetByPuuidAsync(RegionalRoute route, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | puuid | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Account> |
GetByRiotId(RegionalRoute, String, String, Nullable<CancellationToken>)
Get account by riot id Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByRiotId
Declaration
public Account GetByRiotId(RegionalRoute route, string gameName, string tagLine, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | gameName | When querying for a player by their riot id, the gameName and tagLine query params are required. (required, in path) |
System.String | tagLine | When querying for a player by their riot id, the gameName and tagLine query params are required. (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Account |
GetByRiotIdAsync(RegionalRoute, String, String, Nullable<CancellationToken>)
Get account by riot id Official API Reference: https://developer.riotgames.com/api-methods/#account-v1/GET_getByRiotId
Declaration
public Task<Account> GetByRiotIdAsync(RegionalRoute route, string gameName, string tagLine, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | gameName | When querying for a player by their riot id, the gameName and tagLine query params are required. (required, in path) |
System.String | tagLine | When querying for a player by their riot id, the gameName and tagLine query params are required. (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Account> |