Show / Hide Table of Contents

Class AccountV1Endpoints

AccountV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#account-v1

Inheritance
System.Object
Endpoints
AccountV1Endpoints
Inherited Members
Endpoints.base
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class AccountV1Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetActiveRegion(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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX