OpenWeatherMap skill for Snips
Installation
The skill is on PyPI, so you can just install it with pip:
$ pip install snipsowm
Locale
To have the skills properly working, you need to generate to generate locales for your languages. So far the locales that are supported are :
-
πΊπΈ en_US -
π«π· fr_FR
You can generate them with sudo raspi-config. Going in the Localisation Options submenu, then in the Change Locale submenu, and selecting the locales you want to support. For instance, select en_US UTF-8 if you want support for English.
Usage
Snips Skills Manager
It is recommended that you use this skill with the Snips Skills Manager. Simply add the following section to your Snipsfile:
locale: <Desired Locale>
skills:
- package_name: snipsowm
class_name: SnipsOWM
pip: snipsowm
default_location: "Paris,fr"
params:
- api_key: <YOUR API KEY>
default_location: France
Copyright
This skill is provided by Snips as Open Source software. See LICENSE.txt for more information.