Class ValMatchV1Endpoints
ValMatchV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#val-match-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class ValMatchV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetMatch(ValPlatformRoute, String, Nullable<CancellationToken>)
Get match by id Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getMatch
Declaration
public Match GetMatch(ValPlatformRoute route, string matchId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | 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(ValPlatformRoute, String, Nullable<CancellationToken>)
Get match by id Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getMatch
Declaration
public Task<Match> GetMatchAsync(ValPlatformRoute route, string matchId, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | 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> |
GetMatchlist(ValPlatformRoute, String, Nullable<CancellationToken>)
Get matchlist for games played by puuid Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getMatchlist
Declaration
public Matchlist GetMatchlist(ValPlatformRoute route, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | 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 |
---|---|
Matchlist |
GetMatchlistAsync(ValPlatformRoute, String, Nullable<CancellationToken>)
Get matchlist for games played by puuid Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getMatchlist
Declaration
public Task<Matchlist> GetMatchlistAsync(ValPlatformRoute route, string puuid, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | 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<Matchlist> |
GetRecent(ValPlatformRoute, String, Nullable<CancellationToken>)
Get recent matches
Implementation Notes
Returns a list of match ids that have completed in the last 10 minutes for live regions and 12 hours for the esports routing value. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list. Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getRecentDeclaration
public RecentMatches GetRecent(ValPlatformRoute route, string queue, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | queue | (required, in path) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
RecentMatches |
GetRecentAsync(ValPlatformRoute, String, Nullable<CancellationToken>)
Get recent matches
Implementation Notes
Returns a list of match ids that have completed in the last 10 minutes for live regions and 12 hours for the esports routing value. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list. Official API Reference: https://developer.riotgames.com/api-methods/#val-match-v1/GET_getRecentDeclaration
public Task<RecentMatches> GetRecentAsync(ValPlatformRoute route, string queue, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ValPlatformRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.String | queue | (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<RecentMatches> |