Class ChampionV3Endpoints
ChampionV3 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#champion-v3
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class ChampionV3Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetChampionInfo(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 |
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> |