Show / Hide Table of Contents

Class ChampionV3Endpoints

ChampionV3 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#champion-v3

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

Methods

| Improve this Doc View Source

GetChampionInfo(PlatformRoute, Nullable<CancellationToken>)

Returns champion rotations, including free-to-play and low-level free-to-play rotations (REST) Official API Reference: https://developer.riotgames.com/api-methods/#champion-v3/GET_getChampionInfo

Declaration
public ChampionInfo GetChampionInfo(PlatformRoute route, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

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

System.Nullable<System.Threading.CancellationToken> cancellationToken

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

Returns
Type Description
ChampionInfo
| Improve this Doc View Source

GetChampionInfoAsync(PlatformRoute, Nullable<CancellationToken>)

Returns champion rotations, including free-to-play and low-level free-to-play rotations (REST) Official API Reference: https://developer.riotgames.com/api-methods/#champion-v3/GET_getChampionInfo

Declaration
public Task<ChampionInfo> GetChampionInfoAsync(PlatformRoute route, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

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

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