Show / Hide Table of Contents

Class ValContentV1Endpoints

ValContentV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#val-content-v1

Inheritance
System.Object
Endpoints
ValContentV1Endpoints
Inherited Members
Endpoints.base
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class ValContentV1Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetContent(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
| Improve this Doc View Source

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>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX