Skip to main content

Interact with a dizqueTV instance's API

Project description

dizqueTV-python

PyPi Python support License

Open Issues Closed Issues Activity

Latest Release Docs

Discord Twitter

A Python library to interact with a dizqueTV instance

Installation

From GitHub

  1. Clone repository with git clone https://github.com/nwithan8/dizqueTV-python.git
  2. Enter project folder with cd dizqueTV-python
  3. 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 or PlexServer) are incomplete
  • MissingParametersError: 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 server
  • ChannelCreationError: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dizquetv-2.0.0.153.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

dizqueTV-2.0.0.153-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

Details for the file dizquetv-2.0.0.153.tar.gz.

File metadata

  • Download URL: dizquetv-2.0.0.153.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dizquetv-2.0.0.153.tar.gz
Algorithm Hash digest
SHA256 1a1b53ebb8cbde4f236ddcb6cd9a43533f11408cb82ff77e580049a2a3b6b910
MD5 ca17bf0c5a730fcbe4f0f64532ee1974
BLAKE2b-256 f5f68c68314139418f543f78a80b16406cfc37c991f1de5f07c2d74a5d23de7e

See more details on using hashes here.

File details

Details for the file dizqueTV-2.0.0.153-py3-none-any.whl.

File metadata

File hashes

Hashes for dizqueTV-2.0.0.153-py3-none-any.whl
Algorithm Hash digest
SHA256 cb917ac14a551c42f6431bcc8a680d69748dc2bec33767a538935af7886bd941
MD5 1b503a8f6642d3c80f786bf731f78941
BLAKE2b-256 bcdb7ea3e1ddad65a87c1ff71b58139059a548b3416f21ba1d93cf9a9ec0e7c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page