public interface RiotApi
ApiFactory| Modifier and Type | Interface and Description |
|---|---|
static interface |
RiotApi.Champion
Not for stats.
|
static interface |
RiotApi.ChampionMastery
Champion mastery API to fetch player's champion mastery.
|
static interface |
RiotApi.CurrentGame
Spectator details
|
static interface |
RiotApi.FeaturedGames
Gain access to the featured games that appear on the main client page
|
static interface |
RiotApi.League
Retrieves data about players' leagues.
|
static interface |
RiotApi.LolStatus
Get statuses of servers.
|
static interface |
RiotApi.Match
This interface is closely related to the
RiotApi.MatchList interface. |
static interface |
RiotApi.MatchList
Interface to allow search of matches by Summoner ID.
|
static class |
RiotApi.RateType
Rate type enumeration.
|
static interface |
RiotApi.RecentGames
Get recent game data on specific players
|
static interface |
RiotApi.StaticData
Static data on champion stats, items, gold, runes, masteries, etc.
|
static interface |
RiotApi.Stats
Get player performance statistics.
|
static interface |
RiotApi.Summoner
Interface for retrieving data on individual players.
|
static interface |
RiotApi.Team
Fetch player teams
|
| Modifier and Type | Method and Description |
|---|---|
ApiKey |
getApiKey() |
default RiotApi.RateType |
getRateType() |
Region |
getRegion() |
float |
getVersion() |
void |
setAutoRetry(boolean autoRetry) |
void |
setPrintUrl(boolean print) |
void |
setProxy(java.net.Proxy proxy) |
void |
setRateControl(boolean control)
Enable or disable rate throttling.
|
void |
setRetryCount(int retryCount) |
default RiotApi.RateType getRateType()
RiotApi.RateType that this RiotApi instance
operates underfloat getVersion()
RiotApi instancevoid setRateControl(boolean control)
control - turn on / off rate controllingvoid setProxy(java.net.Proxy proxy)
proxy - Proxy for http requestsvoid setAutoRetry(boolean autoRetry)
autoRetry - whether this RiotApi instance should
automatically retry failed requestsvoid setRetryCount(int retryCount)
retryCount - number of automatic retries to attempt. If
setAutoRetry(boolean) is false this this has no effect.void setPrintUrl(boolean print)
print - turn off/on URL printing. Mainly for debugging