Show / Hide Table of Contents

Class LeagueExpV4Endpoints

LeagueExpV4 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#league-exp-v4

Inheritance
System.Object
Endpoints
LeagueExpV4Endpoints
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 LeagueExpV4Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetLeagueEntries(PlatformRoute, Enums.QueueType, Enums.Tier, Enums.Division, Nullable<Int32>, Nullable<CancellationToken>)

Get all the league entries. Official API Reference: https://developer.riotgames.com/api-methods/#league-exp-v4/GET_getLeagueEntries

Declaration
public LeagueEntry[] GetLeagueEntries(PlatformRoute route, Enums.QueueType queue, Enums.Tier tier, Enums.Division division, int? page = null, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

QueueType queue

Note that the queue value must be a valid ranked queue. (required, in path)

Tier tier

(required, in path)

Division division

(required, in path)

System.Nullable<System.Int32> page

Defaults to 1. Starts with page 1. (optional, in query)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task. (optional)

Returns
Type Description
LeagueEntry[]
| Improve this Doc View Source

GetLeagueEntriesAsync(PlatformRoute, Enums.QueueType, Enums.Tier, Enums.Division, Nullable<Int32>, Nullable<CancellationToken>)

Get all the league entries. Official API Reference: https://developer.riotgames.com/api-methods/#league-exp-v4/GET_getLeagueEntries

Declaration
public Task<LeagueEntry[]> GetLeagueEntriesAsync(PlatformRoute route, Enums.QueueType queue, Enums.Tier tier, Enums.Division division, int? page = null, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

QueueType queue

Note that the queue value must be a valid ranked queue. (required, in path)

Tier tier

(required, in path)

Division division

(required, in path)

System.Nullable<System.Int32> page

Defaults to 1. Starts with page 1. (optional, in query)

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