Skip to main content

Unofficial library for MatteBOX API.

Project description

python-mattebox

Unofficial Python library for MatteBOX IPTV.

Installing

$ python -m pip install mattebox

Usage

>>> from mattebox import MatteBOX
>>> mbox = MatteBOX(USERNAME, PASSWORD, DEVICE_ID, SUBSCRIPTION_CODE)

Examples

>>> # get list of TV channels
>>> channels = mbox.channels

>>> # get list of programs on specified channel
>>> programs = mbox.get_programs(channels[0])

>>> # get recordings
>>> recordings = mbox.recordings

>>> # get stream URL for specified program/recording
>>> stream = mbox.get_stream(programs[0])

>>> # search for TV program
>>> results = mbox.search("Masza i niedźwiedź")

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

mattebox-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

mattebox-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file mattebox-0.1.1.tar.gz.

File metadata

  • Download URL: mattebox-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.12.5-zen1-1-zen

File hashes

Hashes for mattebox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 915fa537084b8cb4977bc352633f27ac51a14f14dee15cf1b89ff2f32567caa2
MD5 1a12edeaa94a12da62f01a53e69d2321
BLAKE2b-256 1d5368e53ddb3807f9cf2aba9ed2e3bd2693bd8c124b83f67f4271bda7073862

See more details on using hashes here.

File details

Details for the file mattebox-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mattebox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.12.5-zen1-1-zen

File hashes

Hashes for mattebox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a36087a5b7c4c1ccca53afc3ceda8c0c812e72a46d22a7a0849a042d46f36ee
MD5 e2880560c6af33b72c57416c1188e46a
BLAKE2b-256 432558ee2bee02d7f1a83e9270787e4c9a7d19f53e2bb02323db7966a8ae6186

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