Class LolRsoMatchV1Endpoints
LolRsoMatchV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#lol-rso-match-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LolRsoMatchV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetMatch(RegionalRoute, String, Nullable<CancellationToken>)
Get a match by match id Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-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 a match by match id Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-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> |
GetMatchIds(RegionalRoute, Nullable<Int32>, Nullable<Int64>, Nullable<Int32>, Nullable<Int32>, Nullable<Int64>, String, Nullable<CancellationToken>)
Get a list of match ids by player access token - Includes custom matches Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-match-v1/GET_getMatchIds
Declaration
public string[] GetMatchIds(RegionalRoute route, int? count = null, long? endTime = null, int? queue = null, int? start = null, long? startTime = null, string type = null, 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.Int32> | count | Defaults to 20. Valid values: 0 to 100. Number of match ids to return. (optional, in query) |
System.Nullable<System.Int64> | endTime | Epoch timestamp in seconds. (optional, in query) |
System.Nullable<System.Int32> | queue | Filter the list of match ids by a specific queue id. This filter is mutually inclusive of the type filter meaning any match ids returned must match both the queue and type filters. (optional, in query) |
System.Nullable<System.Int32> | start | Defaults to 0. Start index. (optional, in query) |
System.Nullable<System.Int64> | startTime | Epoch timestamp in seconds. The matchlist started storing timestamps on June 16th, 2021. Any matches played before June 16th, 2021 won't be included in the results if the startTime filter is set. (optional, in query) |
System.String | type | Filter the list of match ids by the type of match. This filter is mutually inclusive of the queue filter meaning any match ids returned must match both the queue and type filters. (optional, in query) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.String[] |
GetMatchIdsAsync(RegionalRoute, Nullable<Int32>, Nullable<Int64>, Nullable<Int32>, Nullable<Int32>, Nullable<Int64>, String, Nullable<CancellationToken>)
Get a list of match ids by player access token - Includes custom matches Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-match-v1/GET_getMatchIds
Declaration
public Task<string[]> GetMatchIdsAsync(RegionalRoute route, int? count = null, long? endTime = null, int? queue = null, int? start = null, long? startTime = null, string type = null, 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.Int32> | count | Defaults to 20. Valid values: 0 to 100. Number of match ids to return. (optional, in query) |
System.Nullable<System.Int64> | endTime | Epoch timestamp in seconds. (optional, in query) |
System.Nullable<System.Int32> | queue | Filter the list of match ids by a specific queue id. This filter is mutually inclusive of the type filter meaning any match ids returned must match both the queue and type filters. (optional, in query) |
System.Nullable<System.Int32> | start | Defaults to 0. Start index. (optional, in query) |
System.Nullable<System.Int64> | startTime | Epoch timestamp in seconds. The matchlist started storing timestamps on June 16th, 2021. Any matches played before June 16th, 2021 won't be included in the results if the startTime filter is set. (optional, in query) |
System.String | type | Filter the list of match ids by the type of match. This filter is mutually inclusive of the queue filter meaning any match ids returned must match both the queue and type filters. (optional, in query) |
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[]> |
GetTimeline(RegionalRoute, String, Nullable<CancellationToken>)
Get a match timeline by match id Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-match-v1/GET_getTimeline
Declaration
public Timeline GetTimeline(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 |
---|---|
Timeline |
GetTimelineAsync(RegionalRoute, String, Nullable<CancellationToken>)
Get a match timeline by match id Official API Reference: https://developer.riotgames.com/api-methods/#lol-rso-match-v1/GET_getTimeline
Declaration
public Task<Timeline> GetTimelineAsync(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<Timeline> |