zulip/contrib_bots/bots/weather
Krzysztof Krzysztof 695c71d2cc bots: Add weather reporting bot. 2017-05-29 20:33:16 -07:00
..
assets bots: Add weather reporting bot. 2017-05-29 20:33:16 -07:00
.weather_config bots: Add weather reporting bot. 2017-05-29 20:33:16 -07:00
readme.md bots: Add weather reporting bot. 2017-05-29 20:33:16 -07:00
weather.py bots: Add weather reporting bot. 2017-05-29 20:33:16 -07:00

readme.md

WeatherBot

  • This is a bot that sends weather information to a selected stream on request.

  • Weather information is brought to the website using an OpenWeatherMap API. The bot posts the weather information to the stream from which the user inputs the message. If the user inputs a city that does not exist, the bot displays a "Sorry, city not found" message.

  • Before using this bot, you have to generate an OpenWeatherMap API key and replace the dummy value in .weather_config.

Example Usage Wrong City