Show / Hide Table of Contents

Class ValConsoleRankedV1Endpoints

ValConsoleRankedV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#val-console-ranked-v1

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

Methods

| Improve this Doc View Source

GetLeaderboard(ValPlatformRoute, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<CancellationToken>)

Get leaderboard for the competitive queue Official API Reference: https://developer.riotgames.com/api-methods/#val-console-ranked-v1/GET_getLeaderboard

Declaration
public Leaderboard GetLeaderboard(ValPlatformRoute route, string actId, string platformType, 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.String platformType

(required, in query)

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

GetLeaderboardAsync(ValPlatformRoute, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<CancellationToken>)

Get leaderboard for the competitive queue Official API Reference: https://developer.riotgames.com/api-methods/#val-console-ranked-v1/GET_getLeaderboard

Declaration
public Task<Leaderboard> GetLeaderboardAsync(ValPlatformRoute route, string actId, string platformType, 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.String platformType

(required, in query)

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