Class SummonerV4Endpoints
SummonerV4 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#summoner-v4
Inherited Members
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class SummonerV4Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetByAccountId(Region, String, Nullable<CancellationToken>)
Get a summoner by account ID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByAccountId
Declaration
public Summoner GetByAccountId(Region region, string encryptedAccountId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedAccountId | (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
Summoner |
GetByAccountIdAsync(Region, String, Nullable<CancellationToken>)
Get a summoner by account ID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByAccountId
Declaration
public Task<Summoner> GetByAccountIdAsync(Region region, string encryptedAccountId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedAccountId | (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Summoner> |
GetByPUUID(Region, String, Nullable<CancellationToken>)
Get a summoner by PUUID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByPUUID
Declaration
public Summoner GetByPUUID(Region region, string encryptedPUUID, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedPUUID | Summoner ID (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
Summoner |
GetByPUUIDAsync(Region, String, Nullable<CancellationToken>)
Get a summoner by PUUID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByPUUID
Declaration
public Task<Summoner> GetByPUUIDAsync(Region region, string encryptedPUUID, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedPUUID | Summoner ID (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Summoner> |
GetBySummonerId(Region, String, Nullable<CancellationToken>)
Get a summoner by summoner ID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerId
Declaration
public Summoner GetBySummonerId(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedSummonerId | Summoner ID (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
Summoner |
GetBySummonerIdAsync(Region, String, Nullable<CancellationToken>)
Get a summoner by summoner ID.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerId
Declaration
public Task<Summoner> GetBySummonerIdAsync(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedSummonerId | Summoner ID (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Summoner> |
GetBySummonerName(Region, String, Nullable<CancellationToken>)
Get a summoner by summoner name.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerName
Declaration
public Summoner GetBySummonerName(Region region, string summonerName, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | summonerName | Summoner Name (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
Summoner |
GetBySummonerNameAsync(Region, String, Nullable<CancellationToken>)
Get a summoner by summoner name.
Official API Reference: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerName
Declaration
public Task<Summoner> GetBySummonerNameAsync(Region region, string summonerName, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | summonerName | Summoner Name (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Summoner> |