Show / Hide Table of Contents

Class ChampionMasteryV4Endpoints

ChampionMasteryV4 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#champion-mastery-v4

Inheritance
System.Object
Endpoints
ChampionMasteryV4Endpoints
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 ChampionMasteryV4Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetAllChampionMasteriesByPUUID(PlatformRoute, String, Nullable<CancellationToken>)

Get all champion mastery entries sorted by number of champion points descending. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getAllChampionMasteriesByPUUID

Declaration
public ChampionMastery[] GetAllChampionMasteriesByPUUID(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(required, in path)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task. (optional)

Returns
Type Description
ChampionMastery[]
| Improve this Doc View Source

GetAllChampionMasteriesByPUUIDAsync(PlatformRoute, String, Nullable<CancellationToken>)

Get all champion mastery entries sorted by number of champion points descending. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getAllChampionMasteriesByPUUID

Declaration
public Task<ChampionMastery[]> GetAllChampionMasteriesByPUUIDAsync(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(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<ChampionMastery[]>
| Improve this Doc View Source

GetChampionMasteryByPUUID(PlatformRoute, String, Enums.Champion, Nullable<CancellationToken>)

Get a champion mastery by puuid and champion ID. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryByPUUID

Declaration
public ChampionMastery GetChampionMasteryByPUUID(PlatformRoute route, string encryptedPUUID, Enums.Champion championId, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(required, in path)

Champion championId

Champion ID to retrieve Champion Mastery. (required, in path)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task. (optional)

Returns
Type Description
ChampionMastery
| Improve this Doc View Source

GetChampionMasteryByPUUIDAsync(PlatformRoute, String, Enums.Champion, Nullable<CancellationToken>)

Get a champion mastery by puuid and champion ID. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryByPUUID

Declaration
public Task<ChampionMastery> GetChampionMasteryByPUUIDAsync(PlatformRoute route, string encryptedPUUID, Enums.Champion championId, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(required, in path)

Champion championId

Champion ID to retrieve Champion Mastery. (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<ChampionMastery>
| Improve this Doc View Source

GetChampionMasteryScoreByPUUID(PlatformRoute, String, Nullable<CancellationToken>)

Get a player's total champion mastery score, which is the sum of individual champion mastery levels. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryScoreByPUUID

Declaration
public int GetChampionMasteryScoreByPUUID(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

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

GetChampionMasteryScoreByPUUIDAsync(PlatformRoute, String, Nullable<CancellationToken>)

Get a player's total champion mastery score, which is the sum of individual champion mastery levels. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryScoreByPUUID

Declaration
public Task<int> GetChampionMasteryScoreByPUUIDAsync(PlatformRoute route, string encryptedPUUID, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(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<System.Int32>
| Improve this Doc View Source

GetTopChampionMasteriesByPUUID(PlatformRoute, String, Nullable<Int32>, Nullable<CancellationToken>)

Get specified number of top champion mastery entries sorted by number of champion points descending. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getTopChampionMasteriesByPUUID

Declaration
public ChampionMastery[] GetTopChampionMasteriesByPUUID(PlatformRoute route, string encryptedPUUID, int? count = null, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(required, in path)

System.Nullable<System.Int32> count

Number of entries to retrieve, defaults to 3. (optional, in query)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task. (optional)

Returns
Type Description
ChampionMastery[]
| Improve this Doc View Source

GetTopChampionMasteriesByPUUIDAsync(PlatformRoute, String, Nullable<Int32>, Nullable<CancellationToken>)

Get specified number of top champion mastery entries sorted by number of champion points descending. Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getTopChampionMasteriesByPUUID

Declaration
public Task<ChampionMastery[]> GetTopChampionMasteriesByPUUIDAsync(PlatformRoute route, string encryptedPUUID, int? count = null, CancellationToken? cancellationToken = null)
Parameters
Type Name Description
PlatformRoute route

Route to query. Corresponds to a Riot API subdomain for a region or platform. (required)

System.String encryptedPUUID

(required, in path)

System.Nullable<System.Int32> count

Number of entries to retrieve, defaults to 3. (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<ChampionMastery[]>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX