RiotApi.Champion, RiotApi.ChampionMastery, RiotApi.CurrentGame, RiotApi.FeaturedGames, RiotApi.League, RiotApi.LolStatus, RiotApi.Match, RiotApi.MatchList, RiotApi.RateType, RiotApi.RecentGames, RiotApi.StaticData, RiotApi.Stats, RiotApi.Summoner, RiotApi.Team| Modifier and Type | Method and Description |
|---|---|
ChampionDto |
getChampion(long champId,
java.lang.String version,
java.lang.String locale,
ChampDataTag... champData)
/api/lol/static-data/{region}/v1.2/champion/{id}
400 Bad request 401 Unauthorized 404 Champion not found, bad champId 500 Internal server error 503 Service unavailable |
ChampionListDto |
getChampions(boolean dataById,
java.lang.String version,
java.lang.String locale,
ChampListDataTag... champData)
/api/lol/static-data/{region}/v1.2/champion
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
ItemDto |
getItem(long itemId,
java.lang.String version,
java.lang.String locale,
ItemDataTag... itemData)
/api/lol/static-data/{region}/v1.2/item/{id}
400 Bad request 401 Unauthorized 404 Item id not found 500 Internal server error 503 Service unavailable |
ItemListDto |
getItems(java.lang.String version,
java.lang.String locale,
ItemListDataTag... itemListData)
/api/lol/static-data/{region}/v1.2/item
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
LanguageStringsDto |
getLanguageStrings(java.lang.String version,
java.lang.String locale)
/api/lol/static-data/{region}/v1.2/language-strings
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
java.lang.String[] |
getLocales()
/api/lol/static-data/{region}/v1.2/languages
Gets language strings 400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
MapDataDto |
getMap(java.lang.String version,
java.lang.String locale)
/api/lol/static-data/{region}/v1.2/map
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
MasteryListDto |
getMasteries(java.lang.String version,
java.lang.String locale,
MasteryListDataTag... masteryListData)
/api/lol/static-data/{region}/v1.2/mastery
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
MasteryDto |
getMastery(long id,
java.lang.String version,
java.lang.String locale,
MasteryDataTag... masteryData)
/api/lol/static-data/{region}/v1.2/mastery/{id}
400 Bad request 401 Unauthorized 404 Mastery data not found 500 Internal server error 503 Service unavailable |
default RiotApi.RateType |
getRateType() |
RealmDto |
getRealm()
/api/lol/static-data/{region}/v1.2/realm
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
RuneDto |
getRune(long id,
java.lang.String version,
java.lang.String locale,
RuneDataTag... runeData)
/api/lol/static-data/na/v1.2/rune/{id}
400 Bad request 401 Unauthorized 403 Forbidden 404 Rune data not found 500 Internal server error 503 Service unavailable |
RuneListDto |
getRunes(java.lang.String version,
java.lang.String locale,
RuneListDataTag... runeListData)
/api/lol/static-data/na/v1.2/rune
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
SummonerSpellDto |
getSummonerSpell(long id,
java.lang.String version,
java.lang.String locale,
SpellDataTag... spellData)
/api/lol/static-data/{region}/v1.2/summoner-spell/{id}
400 Bad request 401 Unauthorized 404 Summoner spell data not found 500 Internal server error 503 Service unavailable |
SummonerSpellListDto |
getSummonerSpells(boolean dataById,
java.lang.String version,
java.lang.String locale,
SpellDataTag... spellData)
/api/lol/static-data/{region}/v1.2/summoner-spell
400 Bad request 401 Unauthorized 500 Internal server error 503 Service unavailable |
static Region[] |
getSupportedRegions(float version) |
java.lang.String[] |
getVersions()
/api/lol/static-data/{region}/v1.2/versions
401 Unauthorized 500 Internal server error 503 Service unavailable |
getApiKey, getRegion, getVersion, setAutoRetry, setPrintUrl, setProxy, setRateControl, setRetryCountstatic Region[] getSupportedRegions(float version)
version - a positive value denoting the version (e.g. 1.2)Regions this API supportsInvalidVersionException - if the version number cannot be mapped to a valid versiondefault RiotApi.RateType getRateType()
getRateType in interface RiotApiRiotApi.RateType that this RiotApi instance
operates underChampionListDto getChampions(boolean dataById, java.lang.String version, java.lang.String locale, ChampListDataTag... champData) throws java.io.IOException, HttpException
dataById - If specified as true, the returned data map will use the champions' IDs as the keys. If not specified or specified as false, the returned data map will use the champions' keys instead.version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionchampData - Champ data tags to retrieve. Only id, key, name, and title are returned
by default if this parameter isn't specified, null is okChampionDto object with requested data filled in or null
if no champion could be found matching the given queryHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ChampionDto getChampion(long champId, java.lang.String version, java.lang.String locale, ChampDataTag... champData) throws java.io.IOException, HttpException
champId - the champion IDversion - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionchampData - Champ data tags to retrieve. Only id, key, name, and title are returned
by default if this parameter isn't specified, null is okChampionDto object with requested data filled in or null
if no champion could be found matching the given queryHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ItemListDto getItems(java.lang.String version, java.lang.String locale, ItemListDataTag... itemListData) throws java.io.IOException, HttpException
version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionitemListData - Tags to return additional data. Only type, version, basic, data, id,
name, plaintext, group, and description are returned by default if
this parameter isn't specified. To return all additional data, use
the tag 'all'.ItemListDto filled inHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)ItemDto getItem(long itemId, java.lang.String version, java.lang.String locale, ItemDataTag... itemData) throws java.io.IOException, HttpException
itemId - item id to fetchversion - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionitemData - Tags to return additional data. Only id, name, plaintext, group, and
description are returned by default if this parameter isn't specified.
To return all additional data, use the tag 'all'.ItemListDto filled in according to itemListDataHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)LanguageStringsDto getLanguageStrings(java.lang.String version, java.lang.String locale) throws java.io.IOException, HttpException
version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionLanguageStringsDtoHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.lang.String[] getLocales()
throws java.io.IOException,
HttpException
HttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)MapDataDto getMap(java.lang.String version, java.lang.String locale) throws java.io.IOException, HttpException
version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionMapDataDto objectHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)MasteryListDto getMasteries(java.lang.String version, java.lang.String locale, MasteryListDataTag... masteryListData) throws java.io.IOException, HttpException
version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionmasteryListData - Tags to return additional data. Only type, version, data, id, name,
and description are returned by default if this parameter isn't
specified. To return all additional data, use the tag 'all'.MasteryListDto filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)MasteryDto getMastery(long id, java.lang.String version, java.lang.String locale, MasteryDataTag... masteryData) throws java.io.IOException, HttpException
id - mastery idversion - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionmasteryData - Tags to return additional data. Only id, name, and description are
returned by default if this parameter isn't specified. To return all
additional data, use the tag 'all'.MasteryDto filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)RealmDto getRealm() throws java.io.IOException, HttpException
RealmDto objectHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)RuneListDto getRunes(java.lang.String version, java.lang.String locale, RuneListDataTag... runeListData) throws java.io.IOException, HttpException
version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionruneListData - Tags to return additional data. Only type, version, data, id, name,
rune, and description are returned by default if this parameter isn't
specified. To return all additional data, use the tag 'all'.RuneListDto object filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)RuneDto getRune(long id, java.lang.String version, java.lang.String locale, RuneDataTag... runeData) throws java.io.IOException, HttpException
id - rune id to queryversion - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionruneData - Tags to return additional data. Only id, name, rune, and description are
returned by default if this parameter isn't specified. To return all
additional data, use the tag 'ALL'.RuneListDto object filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)SummonerSpellListDto getSummonerSpells(boolean dataById, java.lang.String version, java.lang.String locale, SpellDataTag... spellData) throws java.io.IOException, HttpException
dataById - If specified as true, the returned data map will use the spells' IDs as
the keys. If not specified or specified as false,
the returned data map will use the spells' keys instead.version - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionspellData - Tags to return additional data. Only type, version, data, id, key, name,
description, and summonerLevel are returned by default if this parameter
isn't specified. To return all additional data, use the tag 'ALL'.SummonerSpellListDto object filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)SummonerSpellDto getSummonerSpell(long id, java.lang.String version, java.lang.String locale, SpellDataTag... spellData) throws java.io.IOException, HttpException
id - summoner spell IDversion - patch to reference, null will use latest patchlocale - locale String (e.g. en_US) null will use default for regionspellData - Tags to return additional data. Only type, version, data, id, key, name,
description, and summonerLevel are returned by default if this parameter
isn't specified. To return all additional data, use the tag 'ALL'.SummonerSpellDto object filled in according to tagsHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)java.lang.String[] getVersions()
throws java.io.IOException,
HttpException
HttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)