python-zulip-api/zulip_bots/zulip_bots/bots/weather
2017-07-18 02:20:27 -02:30
..
assets bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
__init__.py bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
readme.md bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
weather.conf bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
weather.py bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30

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.conf.

Example Usage Wrong City