import ChampionMasteryEndpoint from 'kayn/lib/Endpoints/ChampionMasteryEndpoint.js'
ChampionMasteryEndpoint
Extends:
Endpoint~Endpoint → ChampionMasteryEndpoint
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
Get a champion mastery by player ID and champion ID. |
|
public |
Get all champion mastery entries sorted by number of champion points descending. |
|
public |
totalScore(summonerID: number): * Get all champion mastery entries sorted by number of champion points descending. |
Public Constructors
public constructor() source
Public Methods
public get(summonerID: number): ChampionMastery.get.inner source
Get a champion mastery by player ID and champion ID. Returns a function that takes in a champion ID.
Implements GET /lol/champion-mastery/v3/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}
.
Params:
Name | Type | Attribute | Description |
summonerID | number | The ID of the summoner. |
Return:
ChampionMastery.get.inner | The curried function. |