Show / Hide Table of Contents

Class SpectatorTftV5Endpoints

SpectatorTftV5 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#spectator-tft-v5

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

Methods

| Improve this Doc View Source

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

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

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

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