Package | Description |
---|---|
net.rithms.riot.api |
This package provides the
RiotApi class to request data from the Riot Api. |
net.rithms.riot.api.endpoints.champion_mastery.methods | |
net.rithms.riot.api.endpoints.champion.methods | |
net.rithms.riot.api.endpoints.league.methods | |
net.rithms.riot.api.endpoints.lol_status.methods | |
net.rithms.riot.api.endpoints.masteries.methods | |
net.rithms.riot.api.endpoints.match.methods | |
net.rithms.riot.api.endpoints.runes.methods | |
net.rithms.riot.api.endpoints.spectator.methods | |
net.rithms.riot.api.endpoints.static_data.methods | |
net.rithms.riot.api.endpoints.summoner.methods | |
net.rithms.riot.api.endpoints.tournament.methods | |
net.rithms.riot.api.request |
This package contains the classes and interfaces that are used to send requests to the Riot Api and parse the responses.
|
Modifier and Type | Method and Description |
---|---|
ApiConfig |
ApiConfig.clone() |
ApiConfig |
ApiConfig.setAsyncRequestTimeout(int asyncRequestTimeout)
Sets a specified timeout value, in milliseconds, for calls in
RiotApiAsync to wait at most for a response. |
ApiConfig |
ApiConfig.setDebugLevel(java.util.logging.Level debugLevel)
Sets the debug level.
|
ApiConfig |
ApiConfig.setDebugToFile(boolean debugToFile)
Sets whether the debug log should be saved in a file.
|
ApiConfig |
ApiConfig.setKey(java.lang.String key)
Sets the api key for the Riot Api.
|
ApiConfig |
ApiConfig.setMaxAsyncThreads(int maxAsyncThreads)
Sets the maximum amount of threads for asynchronous api calls running at once.
|
ApiConfig |
ApiConfig.setRateLimitHandler(RateLimitHandler rateLimitHandler)
Sets the
RateLimitHandler to take care of rate limiting. |
ApiConfig |
ApiConfig.setRequestTimeout(int requestTimeout)
Sets a specified timeout value, in milliseconds, for calls in
RiotApi to wait at most for a response. |
ApiConfig |
ApiConfig.setTournamentKey(java.lang.String tournamentKey)
Sets the tournament api key for the Riot Api.
|
ApiConfig |
ApiConfig.setTournamentMockMode(boolean tournamentMockMode)
Sets whether the api should redirect tournament method calls should be redirected to the
TOURNAMENT-STUB endpoint. |
Constructor and Description |
---|
RiotApi(ApiConfig config)
Constructs a RiotApi object with the given configuration.
|
Constructor and Description |
---|
GetChampionMasteriesBySummoner(ApiConfig config,
Platform platform,
long summonerId) |
GetChampionMasteriesBySummonerByChampion(ApiConfig config,
Platform platform,
long summonerId,
int championId) |
GetChampionMasteryScoresBySummoner(ApiConfig config,
Platform platform,
long summonerId) |
Constructor and Description |
---|
GetChampion(ApiConfig config,
Platform platform,
int id) |
GetChampions(ApiConfig config,
Platform platform,
boolean freeToPlay) |
Constructor and Description |
---|
GetChallengerLeagueByQueue(ApiConfig config,
Platform platform,
java.lang.String queue) |
GetLeaguePositionsBySummonerId(ApiConfig config,
Platform platform,
long summonerId) |
GetLeaguesBySummonerId(ApiConfig config,
Platform platform,
long summonerId) |
GetMasterLeagueByQueue(ApiConfig config,
Platform platform,
java.lang.String queue) |
Constructor and Description |
---|
GetShardData(ApiConfig config,
Platform platform) |
Constructor and Description |
---|
GetMasteriesBySummoner(ApiConfig config,
Platform platform,
long summonerId) |
Constructor and Description |
---|
GetMatch(ApiConfig config,
Platform platform,
long matchId,
long forAccountId) |
GetMatchByMatchIdAndTournamentCode(ApiConfig config,
Platform platform,
long matchId,
java.lang.String tournamentCode) |
GetMatchIdsByTournamentCode(ApiConfig config,
Platform platform,
java.lang.String tournamentCode) |
GetMatchListByAccountId(ApiConfig config,
Platform platform,
long accountId,
java.util.Set<java.lang.Integer> champion,
java.util.Set<java.lang.Integer> queue,
java.util.Set<java.lang.Integer> season,
long beginTime,
long endTime,
int beginIndex,
int endIndex) |
GetRecentMatchListByAccountId(ApiConfig config,
Platform platform,
long accountId)
Deprecated.
|
GetTimelineByMatchId(ApiConfig config,
Platform platform,
long matchId) |
Constructor and Description |
---|
GetRunesBySummoner(ApiConfig config,
Platform platform,
long summonerId) |
Constructor and Description |
---|
GetActiveGameBySummoner(ApiConfig config,
Platform platform,
long summonerId) |
GetFeaturedGames(ApiConfig config,
Platform platform) |
Constructor and Description |
---|
GetDataChampion(ApiConfig config,
Platform platform,
int id,
Locale locale,
java.lang.String version,
ChampionTags... tags) |
GetDataChampionList(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version,
boolean dataById,
ChampionListTags... tags) |
GetDataItem(ApiConfig config,
Platform platform,
int id,
Locale locale,
java.lang.String version,
ItemTags... tags) |
GetDataItemList(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version,
ItemListTags... tags) |
GetDataLanguages(ApiConfig config,
Platform platform) |
GetDataLanguageStrings(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version) |
GetDataMaps(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version) |
GetDataMastery(ApiConfig config,
Platform platform,
int id,
Locale locale,
java.lang.String version,
MasteryTags... tags) |
GetDataMasteryList(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version,
MasteryListTags... tags) |
GetDataProfileIcons(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version) |
GetDataRealm(ApiConfig config,
Platform platform) |
GetDataRune(ApiConfig config,
Platform platform,
int id,
Locale locale,
java.lang.String version,
RuneTags... tags) |
GetDataRuneList(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version,
RuneListTags... tags) |
GetDataSummonerSpell(ApiConfig config,
Platform platform,
int id,
Locale locale,
java.lang.String version,
SpellTags... tags) |
GetDataSummonerSpellList(ApiConfig config,
Platform platform,
Locale locale,
java.lang.String version,
boolean dataById,
SpellListTags... tags) |
GetDataVersions(ApiConfig config,
Platform platform) |
Constructor and Description |
---|
GetSummoner(ApiConfig config,
Platform platform,
long summonerId) |
GetSummonerByAccount(ApiConfig config,
Platform platform,
long accountId) |
GetSummonerByName(ApiConfig config,
Platform platform,
java.lang.String summonerName) |
Constructor and Description |
---|
CreateTournament(ApiConfig config,
java.lang.String tournamentName,
int providerId) |
CreateTournamentCodes(ApiConfig config,
int tournamentId,
int count,
int teamSize,
TournamentMap mapType,
PickType pickType,
SpectatorType spectatorType,
java.lang.String metaData,
long... allowedSummonerIds) |
CreateTournamentProvider(ApiConfig config,
java.lang.String region,
java.lang.String callbackUrl) |
GetLobbyEventsByCode(ApiConfig config,
java.lang.String tournamentCode) |
GetTournamentCode(ApiConfig config,
java.lang.String tournamentCode) |
UpdateTournamentCode(ApiConfig config,
java.lang.String tournamentCode,
TournamentMap mapType,
PickType pickType,
SpectatorType spectatorType,
long... allowedSummonerIds) |
Constructor and Description |
---|
AsyncRequest(ApiConfig config,
ApiMethod object)
Constructs an asynchronous request
|
Request(ApiConfig config,
ApiMethod object)
Constructs a synchronous request
|