public static interface RiotApi.League extends RiotApi
LeagueDto,
LeagueEntryDtoRiotApi.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 |
|---|---|
java.util.Map<java.lang.String,LeagueDto[]> |
getBySummonerEntries(long... summonerIds)
/api/lol/{region}/v2.5/league/by-summoner/{summonerIds}/entry
400 Bad request 401 Unauthorized 404 League data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,LeagueDto[]> |
getBySummoners(long... summonerIds)
/api/lol/{region}/v2.5/league/by-summoner/{summonerIds}/entry
400 Bad request 401 Unauthorized 404 League data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,LeagueDto[]> |
getByTeamEntries(java.lang.String... teamIds)
/api/lol/{region}/v2.5/league/by-team/{teamIds}/entry
400 Bad request 401 Unauthorized 404 League data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,LeagueDto[]> |
getByTeams(java.lang.String... teamIds)
/api/lol/{region}/v2.5/league/by-team/{teamIds}
400 Bad request 401 Unauthorized 404 League data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
LeagueDto |
getChallenger(QueueType.ChallengerMaster queue)
/api/lol/{region}/v2.5/league/challenger
400 Bad request, (e.g. |
LeagueDto |
getMaster(QueueType.ChallengerMaster queue)
/api/lol/{region}/v2.5/league/master
400 Bad request 401 Unauthorized 404 League 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 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,LeagueDto[]> getBySummonerEntries(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - set of summoners to look upLeagueDto objects or null
if nothing foundHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,LeagueDto[]> getBySummoners(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - set of summoners to look upLeagueDto objects or null
if nothing foundHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,LeagueDto[]> getByTeams(java.lang.String... teamIds) throws java.io.IOException, HttpException
teamIds - set of teams to look up, max length of 10LeagueDto objects or null
if nothing foundHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,LeagueDto[]> getByTeamEntries(java.lang.String... teamIds) throws java.io.IOException, HttpException
teamIds - set of teams to look upLeagueDto objects or null
if nothing foundHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)LeagueDto getChallenger(QueueType.ChallengerMaster queue) throws java.io.IOException, HttpException
queue - the queue type to search forLeagueDto object with data or null if bad request.HttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)LeagueDto getMaster(QueueType.ChallengerMaster queue) throws java.io.IOException, HttpException
queue - the queue type to search forLeagueDto object with data or null if bad requestHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)