Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snipsco/snips-skill-owm
OpenWeatherMap skill for Snips
https://github.com/snipsco/snips-skill-owm
Last synced: 2 months ago
JSON representation
OpenWeatherMap skill for Snips
- Host: GitHub
- URL: https://github.com/snipsco/snips-skill-owm
- Owner: snipsco
- License: mit
- Created: 2017-07-19T11:39:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:43:02.000Z (about 2 years ago)
- Last Synced: 2024-05-13T18:21:58.784Z (9 months ago)
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 9
- Watchers: 23
- Forks: 27
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-snips - snipsowm - Weather conditions and forecasts using the OpenWeatherMap API (Apps / Informational)
README
# OpenWeatherMap action for Snips
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/snipsco/snips-skill-owm/master/LICENSE.txt)
## Installation with Sam
The easiest way to use this Action is to install it with [Sam](https://snips.gitbook.io/getting-started/installation)
`sam install actions -g https://github.com/snipsco/snips-skill-owm.git`
Sam will then ask you for an OpenWeatherMap API key. You can create one by signing up to [OpenWeatherMap](https://openweathermap.org)
The action works with the English Weather skill that you can download on [Snips' console](https://console.snips.ai)
## Locale
> ***BEWARE: Please do not forget that you have to specify one of the following values as the locale setting during the installation. If you install it manually, please do give this setting to `config.ini` -> `locale=`. Otherwise, it will not work as expected.***To have the skills properly working, you **need** to generate locales for your languages. So far the supported locales are:
- πΊπΈ `en_US`
- π«π· `fr_FR`
- πͺπΈ `es_ES`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.
## Manual installation
- Clone the repository on your Pi
- Run `setup.sh` (it will create a virtualenv, install the dependencies in it and rename config.ini.default to config.ini)
- Provide an OpenWeatherMap API key in the config.ini
- Run `action-owm.py`## Contributing
Please see the [Contribution Guidelines](https://github.com/snipsco/snips-skill-owm/blob/master/CONTRIBUTING.md).
## Copyright
This action is provided by [Snips](https://www.snips.ai) as Open Source software. See [LICENSE.txt](https://github.com/snipsco/snips-skill-owm/blob/master/LICENSE.txt) for more information.