Skip to content

Weather forecast using OpenMeteo API with telegram integration

License

Notifications You must be signed in to change notification settings

sh1ngekyo/OpenMeteoForecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMeteoForecast

Weather forecast using OpenMeteo API with telegram integration (work in progress)

Build Tests

Features

  • Registration
  • Getting weather information (now, today, next day, next 7 days) in image format from bot
  • Could set a reminder
  • The application can notify in case of bad weather (rain, snow, thunderstorm, etc.)

Currently implemented

  • [CRUD] Web api that manages general information about users (Id, Location, etc)
  • Api wrapper for Open Meteo
  • Service for communication of client applications with user api
  • Telegram bot as one of the clients
  • Image generation from HTML with wkhtmltoimage (QtWebKit)

Left to do:

  • Add logging & redis for cache
  • Fix 7-days avg temperature calculation
  • Replace wkhtmltoimage with something newer
  • Dynamically change the language of the bot depending on the user's language
  • Some refactoring

Examples

General structure

Registration

Get weather forecast

Setup alarms

Turn on warnings