Class TftMatchV1Endpoints
TftMatchV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#tft-match-v1
Inherited Members
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class TftMatchV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetMatch(Region, 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(Region region, string matchId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | matchId | (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
Match |
GetMatchAsync(Region, 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(Region region, string matchId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | matchId | (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Match> |
GetMatchIdsByPUUID(Region, String, Nullable<Int32>, 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(Region region, string puuid, int? count = default(int? ), CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | puuid | (required) |
System.Nullable<System.Int32> | count | (optional) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.String[] |
GetMatchIdsByPUUIDAsync(Region, String, Nullable<Int32>, 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(Region region, string puuid, int? count = default(int? ), CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | puuid | (required) |
System.Nullable<System.Int32> | count | (optional) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String[]> |