python-zulip-api/bots/weather
2017-06-19 07:11:08 -04:00
..
assets bots: Move contrib_bots to api/bots*. 2017-06-01 12:31:54 -07:00
__init__.py bots: Add missing __init__.py files. 2017-06-08 09:18:24 -07:00
readme.md bots: Update weather bot to use get_config_info(). 2017-06-19 07:11:08 -04:00
weather.conf bots: Update weather bot to use get_config_info(). 2017-06-19 07:11:08 -04:00
weather.py bots: Update weather bot to use get_config_info(). 2017-06-19 07:11:08 -04:00

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