Class LeagueExpV4Endpoints
LeagueExpV4 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#league-exp-v4
Inherited Members
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class LeagueExpV4Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetLeagueEntries(Region, String, String, String, 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(Region region, string division, string tier, string queue, 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.String | queue | Note that the queue value must be a valid ranked queue. (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, String, 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(Region region, string division, string tier, string queue, 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.String | queue | Note that the queue value must be a valid ranked queue. (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[]> |