Tautulli class
The core class to handle all connections to Tautulli. Gives you easy access to all implemented command handlers, initialized and ready to call.
Tautulli handles the creation of the initial Dio
HTTP client & command handlers.
You can optionally use the factory .from()
to define your own Dio
HTTP client.
Constructors
-
Tautulli({required String host, required String apiKey, Map<
String, dynamic> ? headers, bool followRedirects = true, int maxRedirects = 5}) -
Create a new Tautulli API connection manager to connection to your instance.
This default factory/constructor will create the
Dio
HTTP client for you given the parameters.factory - Tautulli.from({required Dio client})
-
Create a new Tautulli API connection manager to connection to your instance.
factory
Properties
- activity → TautulliCommandHandler_Activity
-
Command handler for all activity-related API calls.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- history → TautulliCommandHandler_History
-
Command handler for all history-related API calls.
final
- httpClient → Dio
-
The
Dio
HTTP client built during initialization.final - libraries → TautulliCommandHandler_Libraries
-
Command handler for all library-related API calls.
final
- miscellaneous → TautulliCommandHandler_Miscellaneous
-
Command handler for all misc-related API calls.
final
- notifications → TautulliCommandHandler_Notifications
-
Command handler for all notification-related API calls.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- system → TautulliCommandHandler_System
-
Command handler for all system-related API calls.
final
- users → TautulliCommandHandler_Users
-
Command handler for all user-related API calls.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited