ValMatchApi¶
-
class
riotwatcher._apis.valorant.
MatchApi
(base_api: riotwatcher._apis.BaseApi.BaseApi)¶ This class wraps the Val-Match-v1 Api calls provided by the Riot API.
See https://developer.riotgames.com/apis#val-match-v1 for more detailed information
Initialize a new MatchApi which uses the provided base_api
Parameters: base_api (BaseApi) – the root API object to use for making all requests. -
by_id
(region: str, match_id: str)¶ Get match by id
Returns: MatchDto
-
matchlist_by_puuid
(region: str, puuid: str)¶ Get matchlist for games played by puuid
Returns: MatchlistDto
-
recent_matches
(region: str, queue: str)¶ Get recent matches.
Note: Returns a list of match ids that have completed in the last 10 minutes. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list.
Returns: RecentMatchesDto
-