Class LorInventoryV1Endpoints
LorInventoryV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#lor-inventory-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LorInventoryV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetCards(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[] |
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[]> |