MatchApi¶
-
class
riotwatcher._apis.legends_of_runeterra.
MatchApi
(base_api: riotwatcher._apis.BaseApi.BaseApi)¶ This class wraps the LoR-Match-V1 Api calls provided by the Riot API.
See https://developer.riotgames.com/apis#lor-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
-
by_puuid
(region: str, puuid: str)¶ Get a list of match ids by PUUID.
Returns: List[string]
-