Class TftMatchV1Endpoints
TftMatchV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#tft-match-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class TftMatchV1Endpoints : 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/#tft-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/#tft-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<Int32>, Nullable<Int64>, Nullable<Int32>, Nullable<Int64>, Nullable<CancellationToken>)
Get a list of match ids by PUUID Official API Reference: https://developer.riotgames.com/api-methods/#tft-match-v1/GET_getMatchIdsByPUUID
Declaration
public string[] GetMatchIdsByPUUID(RegionalRoute route, string puuid, int? count = null, long? endTime = null, int? start = null, long? startTime = 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.String | puuid | (required, in path) |
System.Nullable<System.Int32> | count | Defaults to 20. 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> | 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.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<Int32>, Nullable<Int64>, Nullable<Int32>, Nullable<Int64>, Nullable<CancellationToken>)
Get a list of match ids by PUUID Official API Reference: https://developer.riotgames.com/api-methods/#tft-match-v1/GET_getMatchIdsByPUUID
Declaration
public Task<string[]> GetMatchIdsByPUUIDAsync(RegionalRoute route, string puuid, int? count = null, long? endTime = null, int? start = null, long? startTime = 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.String | puuid | (required, in path) |
System.Nullable<System.Int32> | count | Defaults to 20. 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> | 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.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[]> |