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 |
|---|---|
static java.lang.String |
encodeName(java.lang.String name) |
java.util.Map<java.lang.String,SummonerDto> |
getByAccounts(long... accountIds)
/api/lol/{region}/v1.4/summoner/by-account/{accountIds}
400 Bad request 401 Unauthorized 404 No summoner data found for any specified inputs 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,SummonerDto> |
getByIds(long... summonerIds)
/api/lol/{region}/v1.4/summoner/{summonerIds}
400 Bad request 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,SummonerDto> |
getByNames(java.lang.String... summonerNames)
/api/lol/{region}/v1.4/summoner/by-name/{summonerNames}
400 Bad request 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,MasteryPagesDto> |
getMasteries(long... summonerIds)
/api/lol/{region}/v1.4/summoner/{summonerIds}/masteries
400 Bad request 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,java.lang.String> |
getNames(long... summonerIds)
/api/lol/{region}/v1.4/summoner/{summonerIds}/name
400 Bad request 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,RunePagesDto> |
getRunes(long... summonerIds)
/api/lol/{region}/v1.4/summoner/{summonerIds}/runes
400 Bad request 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
static Region[] |
getSupportedRegions(float version) |
getApiKey, getRateType, getRegion, getVersion, setAutoRetry, setPrintUrl, setProxy, setRateControl, setRetryCountstatic java.lang.String encodeName(java.lang.String name)
static Region[] getSupportedRegions(float version)
version - a positive value denoting the version (e.g. 1.2)Regions this API supportsInvalidVersionException - if the version number cannot be mapped to a valid versionjava.util.Map<java.lang.String,SummonerDto> getByNames(java.lang.String... summonerNames) throws java.io.IOException, HttpException
summonerNames - array of String namesSummonerDtoHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,SummonerDto> getByAccounts(long... accountIds) throws java.io.IOException, HttpException
accountIds - Comma-separated list of account IDs associated with summoners to retrieve.
Maximum allowed at once is 40.SummonerDtoHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,SummonerDto> getByIds(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - List of long IDsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,MasteryPagesDto> getMasteries(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - List of long IDsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,java.lang.String> getNames(long... summonerIds)
throws java.io.IOException,
HttpException
summonerIds - List of long IDsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,RunePagesDto> getRunes(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - List of long IDsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)