Legends Of Runeterra Watcher

class riotwatcher.LorWatcher(api_key: str = None, timeout: int = None, rate_limiter: riotwatcher.RateLimiter.RateLimiter = <riotwatcher.Handlers.RateLimit.BasicRateLimiter.BasicRateLimiter object>, deserializer: riotwatcher.Deserializer.Deserializer = <riotwatcher.Handlers.DictionaryDeserializer.DictionaryDeserializer object>)

LorWatcher class is intended to be the main interaction point with the API for Legends of Runterra.

Initialize a new instance of the LorWatcher class.

Parameters:
  • api_key (string) – the API key to use for this instance
  • timeout (int) – Time to wait for a response before timing out a connection to the Riot API
  • rate_limiter (RateLimiter) – Instance to be used for rate limiting. This defaults to Handlers.RateLimit.BasicRateLimiter.
  • deserializer (Deserializer) – Instance to be used to deserialize responses from the Riot Api. Default is Handlers.DictionaryDeserializer.
match

Interface to the Match Endpoint

Return type:legends_of_runeterra.MatchApi
ranked

Interface to the Ranked Endpoint

Return type:legends_of_runeterra.RankedApi