Skip to main content

A Python library for SmoothStreams

Project description

A Python library for working with SmoothStreams services.

Usage

Create a list of channels with metadata – including stream URLs – for a defined service, for a particular server, with a specific quality.

>>> g = Guide(Feed.FOG)
>>> auth = AuthSign(service=LIVE247, auth=('username', 'password'))
'c2VydmVyX3R...'
>>> s = g.generate_streams(Server.NA_EAST_VA, Quality.HD, auth, PROTOCOL.RTMP)
>>> s[0]
{'number': '1', 'name': '01 - ESPNNews', 'icon': 'https://fast-...', 'url': 'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'}
>>> s[0]['url']
'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'

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

pysmoothstreams-0.6.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file pysmoothstreams-0.6.tar.gz.

File metadata

  • Download URL: pysmoothstreams-0.6.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pysmoothstreams-0.6.tar.gz
Algorithm Hash digest
SHA256 99b87235cbcf3cb283a6d1d996274952892d362310ea87c996a33c95170c78b0
MD5 1f48e93db148e5d832e48c4eab0ac057
BLAKE2b-256 f8273042e125206864879687e0efd7e9602bb98665a7227bb7fde14349f89546

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