Show / Hide Table of Contents

Class LorInventoryV1Endpoints

LorInventoryV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#lor-inventory-v1

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

Methods

| Improve this Doc View Source

GetCards(RegionalRoute, Nullable<CancellationToken>)

Return a list of cards owned by the calling user. Official API Reference: https://developer.riotgames.com/api-methods/#lor-inventory-v1/GET_getCards

Declaration
public Card[] GetCards(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
RegionalRoute 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
Card[]
| Improve this Doc View Source

GetCardsAsync(RegionalRoute, Nullable<CancellationToken>)

Return a list of cards owned by the calling user. Official API Reference: https://developer.riotgames.com/api-methods/#lor-inventory-v1/GET_getCards

Declaration
public Task<Card[]> GetCardsAsync(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
RegionalRoute 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<Card[]>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX