The skill is on PyPI, so you can just install it with pip:
$ pip install snipssonos
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
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.
This skill is provided by Snips as Open Source software. See LICENSE.txt for more information.