public static interface RiotApi.Match extends RiotApi
RiotApi.MatchList interface. Retrieves very detailed
statistics for specified matches.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 |
|---|---|
MatchDetail |
getMatch(long matchId,
boolean includeTimeline)
/api/lol/{region}/v2.2/match/{matchId}
400 Bad request 401 Unauthorized 404 Match 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 versionMatchDetail getMatch(long matchId, boolean includeTimeline) throws java.io.IOException, HttpException
matchId - RiotApi.MatchList interface to get valid match IDsincludeTimeline - Attempt to include timeline data. Not all matches have timeline
data associated with them.MatchDetailHttpException - non 2XX response code returnedjava.io.IOException - some connection error (e.g. server down)