Class LolStatusV4Endpoints
LolStatusV4 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#lol-status-v4
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LolStatusV4Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetPlatformData(PlatformRoute, Nullable<CancellationToken>)
Get League of Legends status for the given platform. Official API Reference: https://developer.riotgames.com/api-methods/#lol-status-v4/GET_getPlatformData
Declaration
public PlatformData GetPlatformData(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 |
---|---|
PlatformData |
GetPlatformDataAsync(PlatformRoute, Nullable<CancellationToken>)
Get League of Legends status for the given platform. Official API Reference: https://developer.riotgames.com/api-methods/#lol-status-v4/GET_getPlatformData
Declaration
public Task<PlatformData> GetPlatformDataAsync(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<PlatformData> |