Skip to content

A Telegram bot designed to provide real-time weather forecasts for any city. Users can change the language settings and receive weather updates with detailed information such as temperature, wind speed, humidity, and weather conditions.

Notifications You must be signed in to change notification settings

KirillBurtsev/WI_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This project is a versatile Telegram bot built using the telebot library, aimed at delivering up-to-date weather forecasts for cities around the world. It offers multilingual support, allowing users to switch between English and Russian. The bot interacts with users through commands and inline keyboard buttons, providing a seamless experience for setting preferences and retrieving weather data.

Upon receiving a city name from the user, the bot fetches the current weather conditions using the OpenWeatherMap API (pyowm). It then displays comprehensive weather information, including the current temperature, "feels like" temperature, maximum and minimum temperatures, wind speed, humidity, and a detailed status of the weather conditions.

Key features include:

Language Settings: Users can choose their preferred language (English or Russian) via an interactive inline keyboard. Weather Information: Detailed weather forecasts for any city, with real-time data from OpenWeatherMap. Error Handling: Graceful handling of errors when fetching weather data, ensuring a smooth user experience. Help Command: Provides users with a list of available commands and instructions on how to use the bot. This bot is designed to be user-friendly and informative, making it a valuable tool for anyone needing quick and reliable weather updates.

About

A Telegram bot designed to provide real-time weather forecasts for any city. Users can change the language settings and receive weather updates with detailed information such as temperature, wind speed, humidity, and weather conditions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages