Class TftSummonerV1Endpoints
TftSummonerV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#tft-summoner-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class TftSummonerV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetByAccessToken(PlatformRoute, Nullable<CancellationToken>)
Get a summoner by access token. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByAccessToken
Declaration
public Summoner GetByAccessToken(PlatformRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | 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 |
---|---|
Summoner |
GetByAccessTokenAsync(PlatformRoute, Nullable<CancellationToken>)
Get a summoner by access token. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByAccessToken
Declaration
public Task<Summoner> GetByAccessTokenAsync(PlatformRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | 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<Summoner> |
GetByAccountId(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by account ID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByAccountId
Declaration
public Summoner GetByAccountId(PlatformRoute route, string encryptedAccountId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedAccountId | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Summoner |
GetByAccountIdAsync(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by account ID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByAccountId
Declaration
public Task<Summoner> GetByAccountIdAsync(PlatformRoute route, string encryptedAccountId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedAccountId | (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<Summoner> |
GetByPUUID(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by PUUID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByPUUID
Declaration
public Summoner GetByPUUID(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedPUUID | Summoner ID (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Summoner |
GetByPUUIDAsync(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by PUUID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getByPUUID
Declaration
public Task<Summoner> GetByPUUIDAsync(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedPUUID | Summoner ID (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<Summoner> |
GetBySummonerId(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by summoner ID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getBySummonerId
Declaration
public Summoner GetBySummonerId(PlatformRoute route, string encryptedSummonerId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedSummonerId | Summoner ID (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Summoner |
GetBySummonerIdAsync(PlatformRoute, String, Nullable<CancellationToken>)
Get a summoner by summoner ID. Official API Reference: https://developer.riotgames.com/api-methods/#tft-summoner-v1/GET_getBySummonerId
Declaration
public Task<Summoner> GetBySummonerIdAsync(PlatformRoute route, string encryptedSummonerId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
PlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | encryptedSummonerId | Summoner ID (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<Summoner> |