Class TftLeagueV1Endpoints
TftLeagueV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#tft-league-v1
Inherited Members
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class TftLeagueV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetChallengerLeague(Region, Nullable<CancellationToken>)
Get the challenger league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getChallengerLeague
Declaration
public LeagueList GetChallengerLeague(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueList |
GetChallengerLeagueAsync(Region, Nullable<CancellationToken>)
Get the challenger league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getChallengerLeague
Declaration
public Task<LeagueList> GetChallengerLeagueAsync(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LeagueList> |
GetGrandmasterLeague(Region, Nullable<CancellationToken>)
Get the grandmaster league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getGrandmasterLeague
Declaration
public LeagueList GetGrandmasterLeague(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueList |
GetGrandmasterLeagueAsync(Region, Nullable<CancellationToken>)
Get the grandmaster league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getGrandmasterLeague
Declaration
public Task<LeagueList> GetGrandmasterLeagueAsync(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LeagueList> |
GetLeagueById(Region, String, Nullable<CancellationToken>)
Get league with given ID, including inactive entries.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueById
Declaration
public LeagueList GetLeagueById(Region region, string leagueId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | leagueId | The UUID of the league. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueList |
GetLeagueByIdAsync(Region, String, Nullable<CancellationToken>)
Get league with given ID, including inactive entries.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueById
Declaration
public Task<LeagueList> GetLeagueByIdAsync(Region region, string leagueId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | leagueId | The UUID of the league. (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<LeagueList> |
GetLeagueEntries(Region, String, String, Nullable<Int32>, Nullable<CancellationToken>)
Get all the league entries.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueEntries
Declaration
public LeagueEntry[] GetLeagueEntries(Region region, string division, string tier, int? page = default(int? ), CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | division | (required) |
System.String | tier | (required) |
System.Nullable<System.Int32> | page | Starts with page 1. (optional) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueEntry[] |
GetLeagueEntriesAsync(Region, String, String, Nullable<Int32>, Nullable<CancellationToken>)
Get all the league entries.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueEntries
Declaration
public Task<LeagueEntry[]> GetLeagueEntriesAsync(Region region, string division, string tier, int? page = default(int? ), CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | division | (required) |
System.String | tier | (required) |
System.Nullable<System.Int32> | page | Starts with page 1. (optional) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LeagueEntry[]> |
GetLeagueEntriesForSummoner(Region, String, Nullable<CancellationToken>)
Get league entries for a given summoner ID.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueEntriesForSummoner
Declaration
public LeagueEntry[] GetLeagueEntriesForSummoner(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedSummonerId | (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueEntry[] |
GetLeagueEntriesForSummonerAsync(Region, String, Nullable<CancellationToken>)
Get league entries for a given summoner ID.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getLeagueEntriesForSummoner
Declaration
public Task<LeagueEntry[]> GetLeagueEntriesForSummonerAsync(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | encryptedSummonerId | (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<LeagueEntry[]> |
GetMasterLeague(Region, Nullable<CancellationToken>)
Get the master league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getMasterLeague
Declaration
public LeagueList GetMasterLeague(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LeagueList |
GetMasterLeagueAsync(Region, Nullable<CancellationToken>)
Get the master league.
Official API Reference: https://developer.riotgames.com/api-methods/#tft-league-v1/GET_getMasterLeague
Declaration
public Task<LeagueList> GetMasterLeagueAsync(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LeagueList> |