You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
Krzysztof Kraszewski edited this page Apr 25, 2016
·
20 revisions
Routes
/api/summoner/mastery-data/:region/:id:
response = {
success: Boolean
championMastery: Object
createdAt: Date
updatedAt: Date
}
championMastery = {
totalPoints: Number # Summed points earned with every champion played
rolesPoints: { # Points earned playing each role (note that a champion can be assigned to multiple roles)
Assassin: Number
Fighter: Number
Mage: Number
Marksman: Number
Support: Number
Tank: Number
}
champions: [Object]
champions = [{
championId: Number,
championLevel: Number,
championPoints: Number,
championPointsSinceLastLevel: Number,
championPointsUntilNextLevel: Number,
chestGranted: Boolean,
highestGrade: String,
championName: String
}]