Class TournamentV4Endpoints
TournamentV4 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#tournament-v4
Inherited Members
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class TournamentV4Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetLobbyEventsByCode(Region, String, Nullable<CancellationToken>)
Gets a list of lobby events by tournament code.
Official API Reference: https://developer.riotgames.com/api-methods/#tournament-v4/GET_getLobbyEventsByCode
Declaration
public LobbyEventWrapper GetLobbyEventsByCode(Region region, string tournamentCode, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | tournamentCode | The short code to look up lobby events for (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
LobbyEventWrapper |
GetLobbyEventsByCodeAsync(Region, String, Nullable<CancellationToken>)
Gets a list of lobby events by tournament code.
Official API Reference: https://developer.riotgames.com/api-methods/#tournament-v4/GET_getLobbyEventsByCode
Declaration
public Task<LobbyEventWrapper> GetLobbyEventsByCodeAsync(Region region, string tournamentCode, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | tournamentCode | The short code to look up lobby events for (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<LobbyEventWrapper> |
GetTournamentCode(Region, String, Nullable<CancellationToken>)
Returns the tournament code DTO associated with a tournament code string.
Official API Reference: https://developer.riotgames.com/api-methods/#tournament-v4/GET_getTournamentCode
Declaration
public TournamentCode GetTournamentCode(Region region, string tournamentCode, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | tournamentCode | The tournament code string. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
TournamentCode |
GetTournamentCodeAsync(Region, String, Nullable<CancellationToken>)
Returns the tournament code DTO associated with a tournament code string.
Official API Reference: https://developer.riotgames.com/api-methods/#tournament-v4/GET_getTournamentCode
Declaration
public Task<TournamentCode> GetTournamentCodeAsync(Region region, string tournamentCode, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.String | tournamentCode | The tournament code string. (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<TournamentCode> |