Skip to main content

A simple interface to the Roku streaming player.

Project description

Pyroku wraps the API provided by Roku devices to simplify its integration into your Python scripts.

Usage

All you need to do is import pyroku, create a Roku object, and pass it the IP of your Roku box.

>>> import pyroku
>>> roku = pyroku.Roku('192.168.0.25')
>>> roku.press_pause()

The buttons available are called like so:

>>> roku.press_pause()
>>> roku.press_play()
>>> roku.press_home()
>>> roku.press_reverse()
>>> roku.press_forward()
>>> roku.press_select()
>>> roku.press_left()
>>> roku.press_right()
>>> roku.press_down()
>>> roku.press_up()
>>> roku.press_back()
>>> roku.press_instant_replay()
>>> roku.press_search()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pyroku-0.1.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file pyroku-0.1.tar.gz.

File metadata

  • Download URL: pyroku-0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyroku-0.1.tar.gz
Algorithm Hash digest
SHA256 aad452d46cc851b814256a6dce4923fe254fb977d325c4c306239228770ed6da
MD5 5311e2c616b710b39a524911bb7b3c37
BLAKE2b-256 080ae0928442fae80e9cba0604cf7d0fe5b1463ea2a6ccaf543104ec19c1d332

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