Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snipsco/snips-skill-fakeweather
Fake weather forecasts for Snips
https://github.com/snipsco/snips-skill-fakeweather
Last synced: 2 months ago
JSON representation
Fake weather forecasts for Snips
- Host: GitHub
- URL: https://github.com/snipsco/snips-skill-fakeweather
- Owner: snipsco
- License: mit
- Created: 2017-07-21T13:00:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T13:33:28.000Z (almost 7 years ago)
- Last Synced: 2024-05-13T16:25:25.647Z (9 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 3
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
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 - snipsfakeweather - We got fake news. Now let's get fake weather forecasts (Apps / Informational)
README
# Fake Weather Forecasts skill for Snips
[![Build Status](https://travis-ci.org/snipsco/snips-skill-fakeweather.svg)](https://travis-ci.org/snipsco/snips-skill-fakeweather)
[![PyPi](https://img.shields.io/pypi/v/snipsfakeweather.svg)](https://pypi.python.org/pypi/snipsfakeweather)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/snipsco/snips-skill-fakeweather/master/LICENSE.txt)We got fake news. Now let's get fake weather forecasts. This skill generates phrases with random weather forecasts for a given time and location, and is mainly for demo purposes.
## Usage
### Snips Skills Manager
It is recommended that you use this skill with the [Snips Skills Manager](https://github.com/snipsco/snipsskills). Simply add the following section to your [Snipsfile](https://github.com/snipsco/snipsskills/wiki/The-Snipsfile):
```yaml
skills:
- pip: snipsfakeweather
package_name: snipsfakeweather
class_name: SnipsFakeWeather
requires_tts: True
```### Standalone
If you do not wish to use the skill via the Snips Manager, the skill is on [PyPI](https://pypi.python.org/pypi/snipsfakeweather), so you can just install it with [pip](http://www.pip-installer.org):
```sh
$ pip install snipsfakeweather
```You may now import it into your Python project:
```python
from snipsfakeweather.snipsfakeweather import SnipsFakeWeather
weather = SnipsFakeWeather()
weather.speak_forecast("Paris,fr")
```## Contributing
Please see the [Contribution Guidelines](https://github.com/snipsco/snips-skill-fakeweather/blob/master/CONTRIBUTING.md).
## Copyright
This skill is provided by [Snips](https://www.snips.ai) as Open Source software. See [LICENSE.txt](https://github.com/snipsco/snips-skill-fakeweather/blob/master/LICENSE.txt) for more information.