Show / Hide Table of Contents

Class TftLeagueV1Endpoints

TftLeagueV1 endpoints. This class is automatically generated.

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

Inheritance
System.Object
Endpoints
TftLeagueV1Endpoints
Inherited Members
Endpoints.QUERY_PARAMS_EMPTY
Endpoints.RiotApi
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class TftLeagueV1Endpoints : Endpoints

Methods

| Improve this Doc View Source

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

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

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

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

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

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

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

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

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

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

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

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