tautulli 0.0.4 tautulli: ^0.0.4 copied to clipboard
Facilitate the communication to and from Tautulli's API, a Python based monitoring and tracking tool for Plex Media Server.
import 'package:tautulli/tautulli.dart';
void main() async {
// The host must include the protocol
// If required, the host should include the port and the base URL as well
String host = 'http://192.168.1.111:8181/tautulli';
// Your key can be fetched from the Tautulli web GUI
String key = '668133da953e4e9e911de5d7b20a152b';
Tautulli tautulli = Tautulli(host: host, apiKey: key);
// Run the `arnold` command for example, which fetches an Arnold Schwarzenegger quote
await tautulli.miscellaneous.arnold().then((quote) => print(quote));
}