No project description provided
Project description
pytautulli - A python module to get information from Tautulli
Notes
This has been tested with python 3.6
This module require API key from Tautulli.
This module uses these external libararies:
- requests
Install
pip install pytautulli
Example usage
import pytautulli
api_key = 'VHLZFXXXP5SBL4OWSAPM0G8KCCXX0A9MA9E3XWNG'
host = '192.168.1.43'
port = '8181'
username = 'username'
pytautulli.get_users(host, port, api_key)
> ['user1', 'user3']
pytautulli.verify_user(host, port, api_key, user)
> True
pytautulli.get_user_state(host, port, api_key, user)
> 'playing'
pytautulli.get_user_activity(host, port, api_key, user)
> This return a BIG list of all possible values from the activity endpoint.
pytautulli.get_home_stats(host, port, api_key)
> {'User': 'user3', 'TV': 'NCIS', 'Movie': 'Bad Boys 2'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pytautulli-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8400386724888f9a60fdd84e3a26ac4d5e59896cf61003f271a4336df7949a8e |
|
MD5 | 363270850ab1940fd0e7fb64944d1b17 |
|
BLAKE2b-256 | e0c1a2e5f2b04f5cb5adbae5a250e1796382c0fa7117453fada1a5b7a382e767 |