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 Region[] |
getSupportedRegions(float version) |
java.util.Map<java.lang.String,TeamDto> |
getTeams(java.lang.String... teamIds)
/api/lol/{region}/v2.4/team/{teamIds}
400 Bad request, usually means too many IDs 401 Unauthorized 404 Team not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
java.util.Map<java.lang.String,TeamDto[]> |
getTeamsBySummoners(long... summonerIds)
/api/lol/{region}/v2.4/team/by-summoner/{summonerIds}
400 Bad request, usually means too many IDs 401 Unauthorized 404 Stats data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
getApiKey, getRateType, getRegion, getVersion, setAutoRetry, setPrintUrl, setProxy, setRateControl, setRetryCountstatic Region[] getSupportedRegions(float version)
java.util.Map<java.lang.String,TeamDto[]> getTeamsBySummoners(long... summonerIds) throws java.io.IOException, HttpException
summonerIds - List of summoner IDs to search. See RiotApi.Summoner to get valid
summoner IDs. Max count in this method is 10.TeamDto objects that is the
collection of all teams of which that summoner is a member.HttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.util.Map<java.lang.String,TeamDto> getTeams(java.lang.String... teamIds) throws java.io.IOException, HttpException
teamIds - List of team IDs. Max length of 10.TeamDto objects.HttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)