Skip to content

Zetta-11/WeatherBotTelegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Forecast Telegram Bot

This educational project is a Telegram bot that provides weather data and forecasts for different cities. It allows users to get real-time weather information and weather forecast by interacting with the bot through Telegram.

Features

  • Get current weather conditions for any city.
  • Set any city to your account.
  • Receive a 5-day weather forecast for a specific location.
  • Ask bot if an umbrella is needed.
  • Automated daily notifications with weather updates.

Technologies Used

  • Java 17
  • Spring Boot 3.1.0
  • Spring Data JPA
  • MySQL
  • Jackson
  • Flyway
  • Telegram API
  • Weather Map API
  • Spring Scheduler

Getting Started

To run the Weather Forecast Telegram Bot locally, follow these steps:

  1. Clone the repository.
  2. Configure the database connection in application.properties.
  3. Obtain API keys for the Telegram API and Weather Map API.
  4. Set the API keys in the respective configuration file.
  5. Build the project using Maven.
  6. Run the application.