public class LeagueClient extends AbstractClient
apiKey, BASE_URL, region, service| Constructor and Description |
|---|
LeagueClient(String apiKey,
Region region) |
| Modifier and Type | Method and Description |
|---|---|
League |
getChallengerLeague(SubType type)
Retrieve challenger tier leagues
|
Map<String,List<League>> |
getLeagueEntriesByTeam(String... teamIds)
Retrieve league entries for one or more teams
|
Map<String,List<League>> |
getLeagueEntryBySummoner(long... summonerIds)
Retrieve leagues entry data for one or more summoners, including league entries for all of the summoners' teams
|
Map<String,List<League>> |
getLeaguesBySummoner(long... summonerIds)
Retrieve leagues data for one or more summoners
|
Map<String,List<League>> |
getLeaguesByTeam(String... teamIds)
Retrieve leagues data for one or more teams
|
protected String |
getVersion() |
protected com.sun.jersey.api.client.ClientResponse |
request(String method,
String url,
com.sun.jersey.core.util.MultivaluedMapImpl queryParams,
com.sun.jersey.core.util.MultivaluedMapImpl data) |
commaDelimit, commaDelimit, delete, get, get, getBaseUrl, getRegion, post, put, request, request, setRegionprotected String getVersion()
getVersion in class AbstractClientpublic League getChallengerLeague(SubType type)
type - valid options are RANKED_SOLO_5x5, RANKED_TEAM_3x3, and RANKED_TEAM_5x5public Map<String,List<League>> getLeagueEntryBySummoner(long... summonerIds)
summonerIds - one or more summoner idsLeague objects, with the map's keys being the requested summoner idspublic Map<String,List<League>> getLeaguesBySummoner(long... summonerIds)
summonerIds - one or more summoner idspublic Map<String,List<League>> getLeaguesByTeam(String... teamIds)
teamIds - one or more team idsLeague objects, with the keys of the map being the requested team ids
https://developer.riotgames.com/api/methods#!/741/2639public Map<String,List<League>> getLeagueEntriesByTeam(String... teamIds)
teamIds - one or more team idsLeague objects, with the keys of the map being the requested team ids
https://developer.riotgames.com/api/methods#!/741/2638protected com.sun.jersey.api.client.ClientResponse request(String method, String url, com.sun.jersey.core.util.MultivaluedMapImpl queryParams, com.sun.jersey.core.util.MultivaluedMapImpl data)
request in class AbstractClientCopyright © 2014. All rights reserved.