Telegram-Weather-Bot
Telegram-Weather-Bot copied to clipboard
weather cast information based on location for Telegram
Telegram Weather Bot
@weathercast_bot
This Telegram Bot takes user's location as text or GPS coordinates and then informs about its current weather-cast.
Weather information is supplied by OpenWeatherMap.
Bot sends current temperature as well as minimum and maximum expectations. It adds description of the weather with reflecting emoji. :sunny: :umbrella: :snowman:
This project is prepared to be deployed Google App Engine and works with Webhooks.
Details
main.py => Fethces the user input and calls the related functions inputModel.py => To parse the user input which is JSON format responseController.py => For text and GPS coordinates inputs, it makes the Openweathermap API calls and prepares response messages to the users
Installing at Google App Engine instructions
Thanks yukuku for the basic project.
TODO
- Fit Openweathermap API response to a model
- Create Database for Daily/Hourly Notifications and related settings
Screenshots
Bot start screen

Input location as text or GPS coordinates

Bot options

Error when city not found
