Class SpectatorTftV5Endpoints
SpectatorTftV5 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#spectator-tft-v5
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class SpectatorTftV5Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetCurrentGameInfoByPuuid(PlatformRoute, String, Nullable<CancellationToken>)
Get current game information for the given puuid. Official API Reference: https://developer.riotgames.com/api-methods/#spectator-tft-v5/GET_getCurrentGameInfoByPuuid
Declaration
public CurrentGameInfo GetCurrentGameInfoByPuuid(PlatformRoute route, string encryptedPUUID, 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.String | encryptedPUUID | The puuid of the summoner. (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
CurrentGameInfo |
GetCurrentGameInfoByPuuidAsync(PlatformRoute, String, Nullable<CancellationToken>)
Get current game information for the given puuid. Official API Reference: https://developer.riotgames.com/api-methods/#spectator-tft-v5/GET_getCurrentGameInfoByPuuid
Declaration
public Task<CurrentGameInfo> GetCurrentGameInfoByPuuidAsync(PlatformRoute route, string encryptedPUUID, 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.String | encryptedPUUID | The puuid of the summoner. (required, in path) |
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<CurrentGameInfo> |
GetFeaturedGames(PlatformRoute, Nullable<CancellationToken>)
Get list of featured games. Official API Reference: https://developer.riotgames.com/api-methods/#spectator-tft-v5/GET_getFeaturedGames
Declaration
public FeaturedGames GetFeaturedGames(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 |
---|---|
FeaturedGames |
GetFeaturedGamesAsync(PlatformRoute, Nullable<CancellationToken>)
Get list of featured games. Official API Reference: https://developer.riotgames.com/api-methods/#spectator-tft-v5/GET_getFeaturedGames
Declaration
public Task<FeaturedGames> GetFeaturedGamesAsync(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<FeaturedGames> |