-
Notifications
You must be signed in to change notification settings - Fork 34
CHAMPION MASTERY V3
Chau Nguyen edited this page May 12, 2017
·
6 revisions
- Get all champion mastery entries sorted by number of champion points descending.
- Get a champion mastery by player ID and champion ID.
- Get the total champion mastery score of a player, which is the sum of individual champion mastery levels.
/lol/champion-mastery/v3/champion-masteries/by-summoner/{summonerId}
N/A
- getChampMasteries({ region, accountId/accId (int), id/summonerId/playerId (int), name (string), cb)
- Namespaced Functions: ChampionMastery.getChampionMasteries, ChampionMastery.getAll, ChampionMastery.all, Summoner.getChampionMasteries, Summoner.championMasteries
k.ChampionMastery.all({ accId: 47776491 }, KindredAPI.print)
k.ChampionMastery.all({ id: 20026563 }, KindredAPI.print)
k.ChampionMastery
.all({ name: 'Contractz' })
.then(data => console.log(data))
.catch(error => console.error(error))
/lol/champion-mastery/v3/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}
N/A
- getChampMastery({ region, playerId (int), championId (int), options (object) }, cb)
- Namespaced Functions: ChampionMastery.getChampionMastery, ChampionMastery.get
const config = {
playerId: 20026563,
championId: 203
}
k.ChampionMastery.get(config, KindredAPI.print)
k.ChampionMastery
.get(config)
.then(data => console.log(data))
.catch(error => console.error(error))
Get the total champion mastery score of a player, which is the sum of individual champion mastery levels.
/lol/champion-mastery/v3/scores/by-summoner/{summonerId}
N/A
- getTotalChampMasteryScore({ region, accountId/accId (int), id/summonerId/playerId (int), name (string) }, cb)
- Namespaced Functions: Namespaced Functions: ChampionMastery.getTotalChampMasteryScore, ChampionMastery.getTotalScore, ChampionMastery.totalScore, ChampionMastery.total, ChampionMastery.score, Summoner.getTotalChampionMasteryScore, Summoner.totalChampionMasteryScore
k.ChampionMastery.score({ id: 20026563 }, KindredAPI.print)
k.Summoner.totalChampionMasteryScore({ id: 20026563 }, KindredAPI.print)
const config = {
region: REGIONS.KOREA,
name: 'sktt1peanut'
}
k.ChampionMastery
.totalScore(config)
.then(data => console.log(data))
.catch(error => console.error(error))