Home

Awesome

Fake Weather Forecasts skill for Snips

Build Status PyPi MIT License

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. Simply add the following section to your Snipsfile:

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, so you can just install it with pip:

$ pip install snipsfakeweather

You may now import it into your Python project:


from snipsfakeweather.snipsfakeweather import SnipsFakeWeather

weather = SnipsFakeWeather() 
weather.speak_forecast("Paris,fr")

Contributing

Please see the Contribution Guidelines.

Copyright

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