JDureau / snips-skill-sonos

Sonos skill for Snips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonos skill for Snips

Build Status PyPI MIT License

Installation

The skill is on PyPI, so you can just install it with pip:

$ pip install snipssonos

Snips Skills Manager

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

skills:
  - pip: https://github.com/snipsco/snips-skills-sonos
    package_name: snipssonos
    class_name: SnipsSonos

Usage

The skill allows you to control Sonos speakers. You can use it as follows:

from snipssonos.snipssonos import SnipsSonos

sonos = SnipsSonos(SPOTIFY_REFRESH_TOKEN)
sonos.play_artist("John Coltrane")

The SPOTIFY_REFRESH_TOKEN is used for playing music from Spotify. You can obtain it from the Snips Spotify Login page.

Copyright

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

About

Sonos skill for Snips

License:MIT License


Languages

Language:Python 100.0%