public class Riot extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiKey |
protected Map<Class<? extends AbstractClient>,AbstractClient> |
clients |
protected Region |
region |
| Constructor and Description |
|---|
Riot(String apiKey) |
Riot(String apiKey,
Region region) |
| Modifier and Type | Method and Description |
|---|---|
ChampionClient |
champion() |
GameClient |
game() |
protected <T> T |
getClient(Class<? extends AbstractClient> clazz) |
LeagueClient |
league() |
Riot |
setRegion(Region region) |
StatsClient |
stats() |
SummonerClient |
summoner() |
TeamClient |
team() |
protected String apiKey
protected Region region
protected Map<Class<? extends AbstractClient>,AbstractClient> clients
protected <T> T getClient(Class<? extends AbstractClient> clazz)
public ChampionClient champion()
public GameClient game()
public LeagueClient league()
public StatsClient stats()
public SummonerClient summoner()
public TeamClient team()
Copyright © 2013. All rights reserved.