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 hashes)

Uploaded Source

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