Skip to content

alexsacr/pyroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyroku

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

Installation

Pyroku can be easily installed via Pip:

pip install pyroku

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

About

A simple python interface to the Roku streaming player.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages