Team Fight Tactics Watcher¶
-
class
riotwatcher.
TftWatcher
(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>) TftWatcher class is intended to be the main interaction point with the APIs for Team Fight Tactics.
Initialize a new instance of the TftWatcher 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.
-
league
Interface to the League Endpoint
Return type: team_fight_tactics.LeagueApi
-
match
Interface to the Match Endpoint
Return type: team_fight_tactics.MatchApi
-
summoner
Interface to the Summoner Endpoint
Return type: team_fight_tactics.SummonerApi