Interact with a dizqueTV instance's API
Project description
dizqueTV-python
A Python library to interact with a dizqueTV instance
Installation
From GitHub
- Clone repository with
git clone https://github.com/nwithan8/dizqueTV-python.git
- Enter project folder with
cd dizqueTV-python
- Install requirements with
pip install -r requirements.txt
From PyPi
Run pip install dizqueTV
Setup
Import the API
class from the dizqueTV
module
Ex.
from dizqueTV import API
dtv = API(url="http://localhost:8000")
Enable verbose logging by passing verbose=True
into the API
object declaration
Usage
Documentation available on ReadTheDocs
Exceptions
MissingSettingsError
: The kwargs you have provided to create a new object (ex.Channel
orPlexServer
) are incompleteMissingParametersError
: You did not provide a required parameter in your function call (ex. provide a PlexAPI Server when adding PlexAPI Video to a channel)NotRemoteObjectError
: The object you are calling this method on is a locally-created object that does not exist on the dizqueTV serverChannelCreationError
: An error occurred when creating a Channel object
Contact
Please leave a pull request if you would like to contribute.
Join the dizqueTV Discord server (link on project page). My Discord username is nwithan8#8438
Follow me on Twitter: @nwithan8
Also feel free to check out my other projects here on GitHub or join the #developer channel in my Discord server below.
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 Distribution
dizqueTV-1.2.3.1.tar.gz
(35.3 kB
view hashes)
Built Distribution
dizqueTV-1.2.3.1-py3-none-any.whl
(50.0 kB
view hashes)
Close
Hashes for dizqueTV-1.2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e16fb7b6fc9892f2a67002f327b5e192f6a6d6a5008f3a9f761324216491a8 |
|
MD5 | ca102a64408c53c8fd806319c1ce5a5f |
|
BLAKE2b-256 | 5076ab08e5aa7d755a25a265badaa711bd4a4a1db196964e9ab2965b74d05b89 |