Show / Hide Table of Contents

Class RiotGamesApi

Inheritance
System.Object
RiotGamesApi
Implements
IRiotGamesApi
Inherited Members
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 RiotGamesApi : IRiotGamesApi

Methods

| Improve this Doc View Source

NewInstance(IRiotGamesApiConfig)

Creates a new RiotApi instance with the provided configuration.

Declaration
public static RiotGamesApi NewInstance(IRiotGamesApiConfig config)
Parameters
Type Name Description
IRiotGamesApiConfig config

RiotApiConfig to use.

Returns
Type Description
RiotGamesApi

RiotApi instance using supplied configuration.

| Improve this Doc View Source

NewInstance(String)

Creates a new RiotApi instance with default configuration.

Declaration
public static RiotGamesApi NewInstance(string apiKey)
Parameters
Type Name Description
System.String apiKey

Riot API key.

Returns
Type Description
RiotGamesApi

RiotApi instance using supllied apiKey.

| Improve this Doc View Source

Send(String, String, HttpRequestMessage, Nullable<CancellationToken>, Boolean)

Declaration
public async Task Send(string route, string methodId, HttpRequestMessage request, CancellationToken? token = null, bool ignoreAppRateLimits = false)
Parameters
Type Name Description
System.String route
System.String methodId
System.Net.Http.HttpRequestMessage request
System.Nullable<System.Threading.CancellationToken> token
System.Boolean ignoreAppRateLimits
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

Send<T>(String, String, HttpRequestMessage, Nullable<CancellationToken>, Boolean)

Declaration
public async Task<T> Send<T>(string route, string methodId, HttpRequestMessage request, CancellationToken? token = null, bool ignoreAppRateLimits = false)
Parameters
Type Name Description
System.String route
System.String methodId
System.Net.Http.HttpRequestMessage request
System.Nullable<System.Threading.CancellationToken> token
System.Boolean ignoreAppRateLimits
Returns
Type Description
System.Threading.Tasks.Task<T>
Type Parameters
Name Description
T

Implements

IRiotGamesApi

Extension Methods

RiotGamesExtensions.AccountV1(IRiotGamesApi)
RiotGamesExtensions.ChampionMasteryV4(IRiotGamesApi)
RiotGamesExtensions.ChampionV3(IRiotGamesApi)
RiotGamesExtensions.ClashV1(IRiotGamesApi)
RiotGamesExtensions.LeagueExpV4(IRiotGamesApi)
RiotGamesExtensions.LeagueV4(IRiotGamesApi)
RiotGamesExtensions.LolChallengesV1(IRiotGamesApi)
RiotGamesExtensions.LolRsoMatchV1(IRiotGamesApi)
RiotGamesExtensions.LolStatusV4(IRiotGamesApi)
RiotGamesExtensions.LorDeckV1(IRiotGamesApi)
RiotGamesExtensions.LorInventoryV1(IRiotGamesApi)
RiotGamesExtensions.LorMatchV1(IRiotGamesApi)
RiotGamesExtensions.LorRankedV1(IRiotGamesApi)
RiotGamesExtensions.LorStatusV1(IRiotGamesApi)
RiotGamesExtensions.MatchV5(IRiotGamesApi)
RiotGamesExtensions.SpectatorTftV5(IRiotGamesApi)
RiotGamesExtensions.SpectatorV5(IRiotGamesApi)
RiotGamesExtensions.SummonerV4(IRiotGamesApi)
RiotGamesExtensions.TftLeagueV1(IRiotGamesApi)
RiotGamesExtensions.TftMatchV1(IRiotGamesApi)
RiotGamesExtensions.TftStatusV1(IRiotGamesApi)
RiotGamesExtensions.TftSummonerV1(IRiotGamesApi)
RiotGamesExtensions.TournamentStubV5(IRiotGamesApi)
RiotGamesExtensions.TournamentV5(IRiotGamesApi)
RiotGamesExtensions.ValConsoleMatchV1(IRiotGamesApi)
RiotGamesExtensions.ValConsoleRankedV1(IRiotGamesApi)
RiotGamesExtensions.ValContentV1(IRiotGamesApi)
RiotGamesExtensions.ValMatchV1(IRiotGamesApi)
RiotGamesExtensions.ValRankedV1(IRiotGamesApi)
RiotGamesExtensions.ValStatusV1(IRiotGamesApi)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX