RiotApi.Champion, RiotApi.ChampionMastery, RiotApi.CurrentGame, RiotApi.FeaturedGames, RiotApi.League, RiotApi.LolStatus, RiotApi.Match, RiotApi.MatchList, RiotApi.RateType, RiotApi.RecentGames, RiotApi.StaticData, RiotApi.Stats, RiotApi.Summoner, RiotApi.Team| Modifier and Type | Method and Description |
|---|---|
int |
getMasteryScore(long summonerId)
/championmastery/location/{platformId}/player/{summonerId}/score
404 Not found 500 Something bad happened |
ChampionMasteryDto[] |
getPlayerAllMastery(long summonerId)
/championmastery/location/{platformId}/player/{summonerId}/champions
404 Not found 500 Something bad happened |
ChampionMasteryDto |
getPlayerChampionMastery(long summonerId,
long championId)
/championmastery/location/{platformId}/player/{summonerId}/champion/{championId}
404 Not found 500 Something bad happened |
static Region[] |
getSupportedRegions(float version) |
ChampionMasteryDto[] |
getTopChampions(long summonerId,
int count)
/championmastery/location/{platformId}/player/{summonerId}/topchampions
404 Not found 500 Something bad happened |
getApiKey, getRateType, getRegion, getVersion, setAutoRetry, setPrintUrl, setProxy, setRateControl, setRetryCountstatic Region[] getSupportedRegions(float version)
version - a positive value denoting the version (e.g. 1.0);Regions this API supportsInvalidVersionException - if the version number cannot be mapped to a valid versionChampionMasteryDto getPlayerChampionMastery(long summonerId, long championId) throws java.io.IOException, HttpException
summonerId - summoner ID associated with the playerchampionId - champion ID to retrieve champion mastery forChampionMasteryDto mapping player to champion masteryHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ChampionMasteryDto[] getPlayerAllMastery(long summonerId) throws java.io.IOException, HttpException
summonerId - summoner ID associated with the playerChampionMasteryDto mapping player to champion masteryHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)int getMasteryScore(long summonerId)
throws java.io.IOException,
HttpException
summonerId - summoner ID associated with the playerHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ChampionMasteryDto[] getTopChampions(long summonerId, int count) throws java.io.IOException, HttpException
summonerId - summonerId associated with the playercount - best N championsChampionMasteryDto mapping player to champion masteryHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)