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 |
|---|---|
RecentGamesDto |
getRecentGames(long summonerId)
/api/lol/{region}/v1.3/game/by-summoner/{summonerId}/recent
400 Bad request 401 Unauthorized 404 Game data not found 429 Rate limit exceeded 500 Internal server error 503 Service unavailable |
static Region[] |
getSupportedRegions(float version) |
getApiKey, getRateType, 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 versionRecentGamesDto getRecentGames(long summonerId) throws java.io.IOException, HttpException
summonerId - player's summoner ID, See the RiotApi.Summoner interface for valid IDs.RecentGamesDto for the given player or null if no data foundHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)