Class ValRankedV1Endpoints
ValRankedV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#val-ranked-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class ValRankedV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetLeaderboard(ValPlatformRoute, String, Nullable<Int32>, Nullable<Int32>, Nullable<CancellationToken>)
Get leaderboard for the competitive queue Official API Reference: https://developer.riotgames.com/api-methods/#val-ranked-v1/GET_getLeaderboard
Declaration
public Leaderboard GetLeaderboard(ValPlatformRoute route, string actId, int? size = null, int? startIndex = null, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | actId | Act ids can be found using the val-content API. (required, in path) |
System.Nullable<System.Int32> | size | Defaults to 200. Valid values: 1 to 200. (optional, in query) |
System.Nullable<System.Int32> | startIndex | Defaults to 0. (optional, in query) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Leaderboard |
GetLeaderboardAsync(ValPlatformRoute, String, Nullable<Int32>, Nullable<Int32>, Nullable<CancellationToken>)
Get leaderboard for the competitive queue Official API Reference: https://developer.riotgames.com/api-methods/#val-ranked-v1/GET_getLeaderboard
Declaration
public Task<Leaderboard> GetLeaderboardAsync(ValPlatformRoute route, string actId, int? size = null, int? startIndex = null, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | actId | Act ids can be found using the val-content API. (required, in path) |
System.Nullable<System.Int32> | size | Defaults to 200. Valid values: 1 to 200. (optional, in query) |
System.Nullable<System.Int32> | startIndex | Defaults to 0. (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<Leaderboard> |