Class ValContentV1Endpoints
ValContentV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#val-content-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class ValContentV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetContent(ValPlatformRoute, String, Nullable<CancellationToken>)
Get content optionally filtered by locale Official API Reference: https://developer.riotgames.com/api-methods/#val-content-v1/GET_getContent
Declaration
public Content GetContent(ValPlatformRoute route, string locale = null, 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 | locale | (optional, in query) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Content |
GetContentAsync(ValPlatformRoute, String, Nullable<CancellationToken>)
Get content optionally filtered by locale Official API Reference: https://developer.riotgames.com/api-methods/#val-content-v1/GET_getContent
Declaration
public Task<Content> GetContentAsync(ValPlatformRoute route, string locale = null, 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 | locale | (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<Content> |