Show / Hide Table of Contents

Class ValMatchV1Endpoints

ValMatchV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#val-match-v1

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

Methods

| Improve this Doc View Source

GetMatch(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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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_getRecent
Declaration
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
| Improve this Doc View Source

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_getRecent
Declaration
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>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX