Skip to content

mustafababil/Telegram-Weather-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Weather 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. ☀️ ☔ ⛄

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

  1. Fit Openweathermap API response to a model
  2. Create Database for Daily/Hourly Notifications and related settings

Screenshots

Bot start screen


telegram @weathercast_bot start screen


Input location as text or GPS coordinates


bot text or gps input


Bot options


bot options


Error when city not found


404-city not found

About

weather cast information based on location for Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages