Giter Club home page Giter Club logo

snips-skill-roku's Introduction

Snips Skill Roku

Latest Version Build Status MIT License

Note: Roku Search is only available in English, and only available for registered accounts in the U.S., Canada (English only), Ireland and the U.K

Snips Manager

It is recommended that you use this skill with the Snips Manager. Simply add the following section to your Snipsfile:

  skills:
    - pip: https://github.com/snipsco/snips-skills-roku
      package_name: snipsroku
      params:
        roku_device_ip: <ROKU_DEVICE_IP>

Usage

The skill allows you to control Roku TV. You can use it as follows:

    from snipsroku.snipsroku import SnipsRoku


    roku = SnipsRoku(<ROKU_DEVICE_IP>)
    # Go to home screen
    roku.home_screen()

    # Get dict with installed apps and apps id
    roku.get_apps()

    # Launch a specifc app already installed
    id = roku.get_app_id("Youtube")
    roku.launch_app(id)

    # Search for content
    roku.search_content("tv-show", "Friends")

    # Launch a specific series or movie. For instance, Black Mirror season 4
    roku.search_content("tv-show", "Black Mirror", None, True, "Netflix", 4)

The ROKU_DEVICE_IP is used to identify your Roku device in the network. You can either obtain the IP through the Roku interface if you navigate to Settings > Network > About and note down what is next to "IP address". Alternatively, please follow the instructions here.

Contributing

Please see the Contribution Guidelines.

Copyright

This skill is provided by Snips as Open Source software. See LICENSE.txt for more information.

snips-skill-roku's People

Contributors

paufabregat avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.