Class LorMatchV1Endpoints
LorMatchV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#lor-match-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LorMatchV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetMatch(RegionalRoute, String, Nullable<CancellationToken>)
Get match by id Official API Reference: https://developer.riotgames.com/api-methods/#lor-match-v1/GET_getMatch
Declaration
public Match GetMatch(RegionalRoute route, string matchId, 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.String | matchId | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Match |
GetMatchAsync(RegionalRoute, String, Nullable<CancellationToken>)
Get match by id Official API Reference: https://developer.riotgames.com/api-methods/#lor-match-v1/GET_getMatch
Declaration
public Task<Match> GetMatchAsync(RegionalRoute route, string matchId, 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.String | matchId | (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<Match> |
GetMatchIdsByPUUID(RegionalRoute, String, Nullable<CancellationToken>)
Get a list of match ids by PUUID Official API Reference: https://developer.riotgames.com/api-methods/#lor-match-v1/GET_getMatchIdsByPUUID
Declaration
public string[] GetMatchIdsByPUUID(RegionalRoute route, string puuid, 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.String | puuid | (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.String[] |
GetMatchIdsByPUUIDAsync(RegionalRoute, String, Nullable<CancellationToken>)
Get a list of match ids by PUUID Official API Reference: https://developer.riotgames.com/api-methods/#lor-match-v1/GET_getMatchIdsByPUUID
Declaration
public Task<string[]> GetMatchIdsByPUUIDAsync(RegionalRoute route, string puuid, 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.String | puuid | (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<System.String[]> |