public class ThrottledApiHandler extends Object implements AutoCloseable, LoLRestApi
| Modifier and Type | Class and Description |
|---|---|
class |
ThrottledApiHandler.AsyncCurrentGameHandler |
class |
ThrottledApiHandler.AsyncFeaturedGamesHandler |
static class |
ThrottledApiHandler.Limit |
| Modifier and Type | Field and Description |
|---|---|
ThrottledApiHandler.AsyncCurrentGameHandler |
currentGameHandler |
ThrottledApiHandler.AsyncFeaturedGamesHandler |
featuredGamesHandler |
static int |
PERIOD |
| Constructor and Description |
|---|
ThrottledApiHandler(Shard shard,
String token,
ThrottledApiHandler.Limit... lim) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stops the threads handling pending requests.
|
static ThrottledApiHandler |
developmentDefault(Shard shard,
String token)
Returns a throttled api handler with the current development request limits,
which is 10 requests per 10 seconds and 500 requests per 10 minutes
|
Future<List<BasicChampData>> |
getBasicChampData()
Get basic champion data (id, freeToPlay) for all champions
|
Future<BasicChampData> |
getBasicChampData(int id)
Get basic champion data for the selected champion
|
Future<LeagueList> |
getChallenger(QueueType queue)
Get the region's challenger league
|
Future<Champion> |
getChampion(int id)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Champion> |
getChampion(int id,
ChampData champData)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Champion> |
getChampion(int id,
ChampData champData,
String version,
String locale)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttle
|
Future<ChampionList> |
getChampionListDto()
Get champion information for all champions
|
Future<ChampionList> |
getChampionListDto(ChampData champData)
Get champion information for all champions.
|
Future<ChampionList> |
getChampionListDto(String locale,
String version,
boolean dataById,
ChampData champData)
Get champion information for all champions
This method does not count towards the rate limit
|
Future<Collection<Champion>> |
getChampions()
All champions in the game.
|
Future<Collection<Champion>> |
getChampions(ChampData champData)
All champions in the game.
|
Future<Collection<Champion>> |
getChampions(ChampData champData,
String version,
String locale,
boolean dataById)
All champions in the game.
|
Future<List<BasicChampData>> |
getFreeToPlayChampions()
Get basic champion data for all free-to-play champions
|
Future<Item> |
getItem(int id)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Item> |
getItem(int id,
ItemData data)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Item> |
getItem(int id,
ItemData data,
String version,
String locale)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttle
|
Future<ItemList> |
getItemList()
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttle
|
Future<ItemList> |
getItemList(ItemData data)
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttle
|
Future<ItemList> |
getItemList(ItemData data,
String version,
String locale)
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Map<Long,List<LeagueItem>>> |
getLeagueEntries(long... summoners)
Get a listing of all league entries in the summoners' leagues
|
Future<List<LeagueItem>> |
getLeagueEntries(long summoner)
Get a listing of all league entries in the summoner's leagues
|
Future<Map<String,List<LeagueItem>>> |
getLeagueEntries(String... teamIds)
Get a listing of all league entries in the teams' leagues
|
Future<List<LeagueItem>> |
getLeagueEntries(String teamId)
Get a listing of all league entries in the team's leagues
|
Future<Map<Long,List<LeagueList>>> |
getLeagues(long... summoners)
Get a listing of leagues for the specified summoners
|
Future<List<LeagueList>> |
getLeagues(long summoner)
Get a listing of leagues for the the summoner
|
Future<Map<String,List<LeagueList>>> |
getLeagues(String... teamIds)
Get a listing of leagues for the specified teams
|
Future<List<LeagueList>> |
getLeagues(String teamId)
Get a listing of leagues for the specified team
|
Future<List<String>> |
getLocales()
Retrieve supported locales for the specified region
This method does not count towards your rate limit
|
Future<LocalizedMessages> |
getLocalizedMessages()
Retrieve localized strings for the english locale
This method does not count towards your rate limit
|
Future<LocalizedMessages> |
getLocalizedMessages(String version,
String locale)
Retrieve localized strings for the english locale
This method does not count towards your rate limit
|
Future<MapDataOverview> |
getMaps()
Retrieve map information
This method does not count towards the rate limit
|
Future<MapDataOverview> |
getMaps(String version,
String locale)
Retrieve map information
This method does not count towards the rate limit
|
Future<MasteryList> |
getMasteries()
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttle
|
Future<MasteryList> |
getMasteries(MasteryData data)
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttle
|
Future<MasteryList> |
getMasteries(MasteryData data,
String version,
String locale)
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Mastery> |
getMastery(int id)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Mastery> |
getMastery(int id,
MasteryData data)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Mastery> |
getMastery(int id,
MasteryData data,
String version,
String locale)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Set<MasteryPage>> |
getMasteryPages(int id)
Retrieve the mastery pages of a user
|
Future<Map<Integer,Set<MasteryPage>>> |
getMasteryPagesMultipleUsers(Integer... ids)
Retrieve mastery pages for multiple users
|
Future<MatchDetail> |
getMatch(long matchId)
Retrieves the specified match, including timeline.
|
Future<MatchDetail> |
getMatch(long matchId,
boolean includeTimeline)
Retrieves the specified match.
|
Future<List<MatchSummary>> |
getMatchHistory(long playerId)
Retrieve a player's match history.
|
Future<List<MatchSummary>> |
getMatchHistory(long playerId,
String... championIds)
Retrieve a player's match history.
|
Future<List<MatchSummary>> |
getMatchHistory(long playerId,
String[] championIds,
QueueType... queueTypes)
Retrieve a player's match history, filtering out all games not in the specified queues.
|
Future<List<MatchSummary>> |
getMatchHistory(long playerId,
String[] championIds,
QueueType[] queueTypes,
int beginIndex,
int endIndex)
Retrieve a player's match history, filtering out all games not in the specified queues.
|
Future<RankedStats> |
getRankedStats(long summoner)
Get ranked stats for a player
|
Future<RankedStats> |
getRankedStats(long summoner,
Season season)
Get ranked stats for a player in a specific season
|
Future<Realm> |
getRealm()
Get realm information for this region
This method does not count towards the rate limit and is not affected by the throttle
|
Future<List<Game>> |
getRecentGames(long summoner)
Get a listing of recent games for the summoner
|
Future<Item> |
getRune(int id)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Item> |
getRune(int id,
ItemData data)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Item> |
getRune(int id,
ItemData data,
String version,
String locale)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<RuneList> |
getRuneList()
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<RuneList> |
getRuneList(ItemData data)
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<RuneList> |
getRuneList(ItemData data,
String version,
String locale)
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Set<RunePage>> |
getRunePages(int id)
Retrieve the runes pages of a user
|
Future<Map<Integer,Set<RunePage>>> |
getRunePagesMultipleUsers(int... ids)
Retrieve runes pages for multiple users
|
Future<List<ShardData>> |
getShards()
Retrieves general information about each shard.
|
Future<ShardStatus> |
getShardSatatus(Shard shard)
Deprecated.
Use #getShardStatus instead.
|
Future<ShardStatus> |
getShardStatus(Shard shard)
Retrieves detailed information about the specified shard.
|
Future<List<PlayerStats>> |
getStatsSummary(long summoner)
Get player stats for the player
|
Future<List<PlayerStats>> |
getStatsSummary(long summoner,
Season season)
Get player stats for the player
|
Future<Summoner> |
getSummoner(int id)
Get summoner information for the summoner with the specified id
|
Future<Summoner> |
getSummoner(String name)
Get summoner information for the specified summoner
|
Future<Long> |
getSummonerId(String name)
Retrieve the summoner id for the specified user
|
Future<List<Long>> |
getSummonerIds(String... names)
Retrieve summoner ids for the specified names
|
Future<String> |
getSummonerName(int id)
Retrieve the summoner name of the specified user
|
Future<Map<Integer,String>> |
getSummonerNames(Integer... ids)
Retrieve summoner names for the specified ids
|
Future<Map<Integer,Summoner>> |
getSummoners(Integer... ids)
Get summoner information for the summoners with the specified ids
|
Future<Map<String,Summoner>> |
getSummoners(String... names)
Get summoner information for the summoners with the specified names
|
Future<SummonerSpell> |
getSummonerSpell(int id)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttle
|
Future<SummonerSpell> |
getSummonerSpell(int id,
SpellData data)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttle
|
Future<SummonerSpell> |
getSummonerSpell(int id,
SpellData data,
String version,
String locale)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttle
|
Future<SummonerSpellList> |
getSummonerSpellListDro(SpellData data,
String version,
String locale,
boolean dataById)
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttle
|
Future<SummonerSpellList> |
getSummonerSpellListDto()
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttle
|
Future<SummonerSpellList> |
getSummonerSpellListDto(SpellData data)
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Collection<SummonerSpell>> |
getSummonerSpells()
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Collection<SummonerSpell>> |
getSummonerSpells(SpellData data)
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttle
|
Future<Collection<SummonerSpell>> |
getSummonerSpells(SpellData data,
String version,
String locale,
boolean dataById)
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttle
|
Future<RankedTeam> |
getTeam(String teamId)
Retrieve information for the specified ranked team
|
Future<Map<Long,List<RankedTeam>>> |
getTeams(long... ids)
Retrieve the ranked teams of the specified users
|
Future<List<RankedTeam>> |
getTeams(long id)
Retrieve the ranked teams of a user
|
Future<Map<String,RankedTeam>> |
getTeams(String... teamIds)
Retrieve information for the specified ranked teams
|
Future<List<String>> |
getVersions()
Retrieve currently supported game versions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentGameHandler, getFeaturedGamesHandlerpublic static final int PERIOD
public final ThrottledApiHandler.AsyncCurrentGameHandler currentGameHandler
public final ThrottledApiHandler.AsyncFeaturedGamesHandler featuredGamesHandler
public ThrottledApiHandler(Shard shard, String token, ThrottledApiHandler.Limit... lim)
public Future<List<BasicChampData>> getBasicChampData()
public Future<BasicChampData> getBasicChampData(int id)
id - The id of the championpublic Future<List<BasicChampData>> getFreeToPlayChampions()
public Future<List<Game>> getRecentGames(long summoner)
summoner - The id of the summonerpublic Future<List<LeagueList>> getLeagues(long summoner)
summoner - The id of the summonerpublic Future<Map<Long,List<LeagueList>>> getLeagues(long... summoners)
summoners - The ids of the summonerspublic Future<List<LeagueItem>> getLeagueEntries(long summoner)
summoner - The id of the summonerpublic Future<Map<Long,List<LeagueItem>>> getLeagueEntries(long... summoners)
summoners - The ids of the summonerspublic Future<List<LeagueList>> getLeagues(String teamId)
teamId - The id of the teampublic Future<Map<String,List<LeagueList>>> getLeagues(String... teamIds)
teamIds - The ids of the teampublic Future<List<LeagueItem>> getLeagueEntries(String teamId)
teamId - The id of the teampublic Future<Map<String,List<LeagueItem>>> getLeagueEntries(String... teamIds)
teamIds - The ids of the teamspublic Future<LeagueList> getChallenger(QueueType queue)
queue - The queue type for which to retrieve the league informationpublic Future<ChampionList> getChampionListDto()
public Future<ChampionList> getChampionListDto(ChampData champData)
Get champion information for all champions.
This method does not count towards the rate limitchampData - Additional information to retrievepublic Future<ChampionList> getChampionListDto(String locale, String version, boolean dataById, ChampData champData)
Get champion information for all champions
This method does not count towards the rate limitlocale - Locale code for returned dataversion - Data dragon version for returned datadataById - If specified as true, the returned data map will use the champions' IDs as the keys.champData - Additional information to retrievepublic Future<Collection<Champion>> getChampions()
All champions in the game.
This method does not count towards the rate limit and is not affected by the throttlepublic Future<Collection<Champion>> getChampions(ChampData champData)
All champions in the game.
This method does not count towards the rate limit and is not affected by the throttlechampData - Additional information to retrievepublic Future<Collection<Champion>> getChampions(ChampData champData, String version, String locale, boolean dataById)
All champions in the game.
This method does not count towards the rate limit and is not affected by the throttlelocale - Locale code for returned dataversion - Data dragon version for returned datadataById - If specified as true, the returned data map will use the champions' IDs as the keys.champData - Additional information to retrievepublic Future<Champion> getChampion(int id)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttleid - The id of the championpublic Future<Champion> getChampion(int id, ChampData champData)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttleid - The id of the championchampData - Additional information to retrievepublic Future<Champion> getChampion(int id, ChampData champData, String version, String locale)
Get information about the specified champion
This method does not count towards the rate limit and is not affected by the throttlelocale - Locale code for returned dataversion - Data dragon version for returned dataid - The id of the championchampData - Additional information to retrievepublic Future<ItemList> getItemList()
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttlepublic Future<ItemList> getItemList(ItemData data)
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrievepublic Future<ItemList> getItemList(ItemData data, String version, String locale)
Get a listing of items in the game
This method does not count towards the rate limit and is not affected by the throttleversion - Data dragon version for returned datalocale - Locale code for returned datadata - Additional information to retrievepublic Future<Item> getItem(int id)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttleid - The id of the itempublic Future<Item> getItem(int id, ItemData data)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttleid - The id of the itemdata - Additional information to retrievepublic Future<Item> getItem(int id, ItemData data, String version, String locale)
Retrieve a specific item
This method does not count towards the rate limit and is not affected by the throttleid - The id of the itemdata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<MasteryList> getMasteries()
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttlepublic Future<MasteryList> getMasteries(MasteryData data)
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrievepublic Future<MasteryList> getMasteries(MasteryData data, String version, String locale)
Get a listing of all masteries
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<Mastery> getMastery(int id)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttleid - The id of the masterypublic Future<Mastery> getMastery(int id, MasteryData data)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttleid - The id of the masterydata - Additional information to retrievepublic Future<Mastery> getMastery(int id, MasteryData data, String version, String locale)
Get a specific mastery
This method does not count towards the rate limit and is not affected by the throttleid - The id of the masterydata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<Realm> getRealm()
Get realm information for this region
This method does not count towards the rate limit and is not affected by the throttlepublic Future<RuneList> getRuneList()
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttlepublic Future<RuneList> getRuneList(ItemData data)
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrievepublic Future<RuneList> getRuneList(ItemData data, String version, String locale)
Get a list of all runes
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<Item> getRune(int id)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttleid - The id of the runespublic Future<Item> getRune(int id, ItemData data)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttleid - The id of the runesdata - Additional information to retrievepublic Future<Item> getRune(int id, ItemData data, String version, String locale)
Retrieve a specific runes
This method does not count towards the rate limit and is not affected by the throttleid - The id of the runesdata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<SummonerSpellList> getSummonerSpellListDto()
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttlepublic Future<SummonerSpellList> getSummonerSpellListDto(SpellData data)
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrievepublic Future<SummonerSpellList> getSummonerSpellListDro(SpellData data, String version, String locale, boolean dataById)
Get a list of all summoner spells as returned by the API
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datadataById - If specified as true, the returned data map will use the spells' IDs as the keys.public Future<Collection<SummonerSpell>> getSummonerSpells()
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttlepublic Future<Collection<SummonerSpell>> getSummonerSpells(SpellData data)
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrievepublic Future<Collection<SummonerSpell>> getSummonerSpells(SpellData data, String version, String locale, boolean dataById)
Get a list of all summoner spells as Java Collection
This method does not count towards the rate limit and is not affected by the throttledata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datadataById - If specified as true, the returned data map will use the spells' IDs as the keys.public Future<SummonerSpell> getSummonerSpell(int id)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttleid - The id of the spellpublic Future<SummonerSpell> getSummonerSpell(int id, SpellData data)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttleid - The id of the spelldata - Additional information to retrievepublic Future<SummonerSpell> getSummonerSpell(int id, SpellData data, String version, String locale)
Retrieve a specific summoner spell
This method does not count towards the rate limit and is not affected by the throttleid - The id of the spelldata - Additional information to retrieveversion - Data dragon version for returned datalocale - Locale code for returned datapublic Future<List<String>> getVersions()
Retrieve currently supported game versions.
This method does not count towards the rate limitpublic Future<MapDataOverview> getMaps()
Retrieve map information
This method does not count towards the rate limitpublic Future<MapDataOverview> getMaps(String version, String locale)
Retrieve map information
This method does not count towards the rate limitversion - The data dragon version.locale - The locale information.public Future<List<String>> getLocales()
Retrieve supported locales for the specified region
This method does not count towards your rate limitpublic Future<LocalizedMessages> getLocalizedMessages()
Retrieve localized strings for the english locale
This method does not count towards your rate limitpublic Future<LocalizedMessages> getLocalizedMessages(String version, String locale)
Retrieve localized strings for the english locale
This method does not count towards your rate limitversion - The data dragon version of the datalocale - The locale to lookup.public Future<List<ShardData>> getShards()
Retrieves general information about each shard.
@Deprecated public Future<ShardStatus> getShardSatatus(Shard shard)
Retrieves detailed information about the specified shard.
shard - The target regionpublic Future<ShardStatus> getShardStatus(Shard shard)
Retrieves detailed information about the specified shard.
shard - The target regionpublic Future<MatchDetail> getMatch(long matchId)
getMatch(matchId, true);matchId - The id of the match.public Future<MatchDetail> getMatch(long matchId, boolean includeTimeline)
matchId - The id of the match.includeTimeline - Whether or not the event timeline should be retrieved.public Future<List<MatchSummary>> getMatchHistory(long playerId)
playerId - The id of the player.public Future<List<MatchSummary>> getMatchHistory(long playerId, String... championIds)
playerId - The id of the player.championIds - The championIds to use for retrieval.public Future<List<MatchSummary>> getMatchHistory(long playerId, String[] championIds, QueueType... queueTypes)
playerId - The id of the player.championIds - The championIds to use for retrieval.queueTypes - The queue types to retrieve (must be one of RANKED_SOLO_5x5, RANKED_TEAM_3x3 or
RANKED_TEAM_5x5).public Future<List<MatchSummary>> getMatchHistory(long playerId, String[] championIds, QueueType[] queueTypes, int beginIndex, int endIndex)
playerId - The id of the player.championIds - The championIds to use for retrieval.queueTypes - The queue types to retrieve (must be one of RANKED_SOLO_5x5, RANKED_TEAM_3x3 or
RANKED_TEAM_5x5).beginIndex - The index of the first game that should be retrieved.endIndex - The index of the last game the should be retrieved.public Future<RankedStats> getRankedStats(long summoner)
summoner - The id of the summonerpublic Future<RankedStats> getRankedStats(long summoner, Season season)
summoner - The id of the summonerseason - The seasonpublic Future<List<PlayerStats>> getStatsSummary(long summoner)
summoner - The id of the summonerpublic Future<List<PlayerStats>> getStatsSummary(long summoner, Season season)
summoner - The id of the summonerseason - The seasonpublic Future<Map<String,Summoner>> getSummoners(String... names)
names - The names of the playersUtil.standardizeSummonerName(java.lang.String)public Future<Summoner> getSummoner(String name)
name - The name of the summonerpublic Future<Map<Integer,Summoner>> getSummoners(Integer... ids)
ids - The ids of the summonerspublic Future<Summoner> getSummoner(int id)
id - The id of the summonerpublic Future<Map<Integer,Set<MasteryPage>>> getMasteryPagesMultipleUsers(Integer... ids)
ids - The ids of the userspublic Future<Set<MasteryPage>> getMasteryPages(int id)
id - The user's idpublic Future<Map<Integer,String>> getSummonerNames(Integer... ids)
ids - The ids to lookuppublic Future<String> getSummonerName(int id)
id - The id of the userpublic Future<Map<Integer,Set<RunePage>>> getRunePagesMultipleUsers(int... ids)
ids - The ids of the userspublic Future<Set<RunePage>> getRunePages(int id)
id - The user's idpublic Future<List<RankedTeam>> getTeams(long id)
id - The user's idpublic Future<Map<Long,List<RankedTeam>>> getTeams(long... ids)
ids - The users' idspublic Future<RankedTeam> getTeam(String teamId)
teamId - The team to retrievepublic Future<Map<String,RankedTeam>> getTeams(String... teamIds)
teamIds - The ids of the teamspublic Future<List<Long>> getSummonerIds(String... names)
names - The names of the userspublic Future<Long> getSummonerId(String name)
Retrieve the summoner id for the specified user
name - The name of the userpublic void close()
close in interface AutoCloseablepublic static ThrottledApiHandler developmentDefault(Shard shard, String token)
shard - The target servertoken - The api keyCopyright © 2015. All rights reserved.