python-zulip-api/bots/weather
2017-06-08 09:18:24 -07:00
..
assets bots: Move contrib_bots to api/bots*. 2017-06-01 12:31:54 -07:00
.weather_config 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: Move contrib_bots to api/bots*. 2017-06-01 12:31:54 -07:00
weather.py bots: Move contrib_bots to api/bots*. 2017-06-01 12:31:54 -07: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_config.

Example Usage Wrong City