Show / Hide Table of Contents

Class SpectatorV4Endpoints

SpectatorV4 endpoints. This class is automatically generated.

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

Inheritance
System.Object
Endpoints
SpectatorV4Endpoints
Inherited Members
Endpoints.QUERY_PARAMS_EMPTY
Endpoints.RiotApi
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class SpectatorV4Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetCurrentGameInfoBySummoner(Region, String, Nullable<CancellationToken>)

Get current game information for the given summoner ID.

Official API Reference: https://developer.riotgames.com/api-methods/#spectator-v4/GET_getCurrentGameInfoBySummoner

Declaration
public CurrentGameInfo GetCurrentGameInfoBySummoner(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

The ID of the summoner. (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

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

Returns
Type Description
CurrentGameInfo
| Improve this Doc View Source

GetCurrentGameInfoBySummonerAsync(Region, String, Nullable<CancellationToken>)

Get current game information for the given summoner ID.

Official API Reference: https://developer.riotgames.com/api-methods/#spectator-v4/GET_getCurrentGameInfoBySummoner

Declaration
public Task<CurrentGameInfo> GetCurrentGameInfoBySummonerAsync(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

The ID of the summoner. (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

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

Returns
Type Description
System.Threading.Tasks.Task<CurrentGameInfo>
| Improve this Doc View Source

GetFeaturedGames(Region, Nullable<CancellationToken>)

Get list of featured games.

Official API Reference: https://developer.riotgames.com/api-methods/#spectator-v4/GET_getFeaturedGames

Declaration
public FeaturedGames GetFeaturedGames(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.Nullable<System.Threading.CancellationToken> cancellationToken

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

Returns
Type Description
FeaturedGames
| Improve this Doc View Source

GetFeaturedGamesAsync(Region, Nullable<CancellationToken>)

Get list of featured games.

Official API Reference: https://developer.riotgames.com/api-methods/#spectator-v4/GET_getFeaturedGames

Declaration
public Task<FeaturedGames> GetFeaturedGamesAsync(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.Nullable<System.Threading.CancellationToken> cancellationToken

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

Returns
Type Description
System.Threading.Tasks.Task<FeaturedGames>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX