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
Built Distribution
File details
Details for the file dizquetv-0.0.0.tar.gz
.
File metadata
- Download URL: dizquetv-0.0.0.tar.gz
- Upload date:
- Size: 60.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756690908014cf23a520cf4df402e3ca5b7c62b39bd7b3437dcfc70a3f4a2a31 |
|
MD5 | 96338b5d057111be3bf4cfa1acb75721 |
|
BLAKE2b-256 | bb4671590d0e1f6ea37fbf78557e865ee76db3bf70507ae63cbbef95b326a869 |
File details
Details for the file dizqueTV-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: dizqueTV-0.0.0-py3-none-any.whl
- Upload date:
- Size: 64.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2393f3e025887e7947145cf869f394806fe3dc5ef6919c9136678c9ee5f539 |
|
MD5 | d7201135a0f17f9fcee9d34572134ca4 |
|
BLAKE2b-256 | f36cfde0dd535ddd47cbb3d7f02d31168b3d763a85b6376b0e96276d6705098e |