Valorant Watcher

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

ValWatcher class is intended to be the main interaction point with the API for Valorant.

Initialize a new instance of the ValWatcher 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.
content

Interface to the Content Endpoint

Return type:valorant.ContentApi
match

Interface to the Match Endpoint

Return type:valorant.MatchApi