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 |
|---|---|
ShardStatus |
getShard()
/shards/{region}
Get shard status. |
Shard[] |
getShards()
/shards
Most useful for finding which locales are supported on which servers 403 Forbidden |
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 versionShard[] getShards() throws java.io.IOException, HttpException
Shard statusesHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ShardStatus getShard() throws java.io.IOException, HttpException
ShardStatus for the specified RegionHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)