This project is a Telegram bot that provides air quality information for a specified city. It uses the OpenWeatherMap API to fetch data and presents it to users through Telegram messages. The bot can provide current, forecasted, and historical air quality data.
- Current Air Quality: Get the real-time air quality index and related metrics for a city.
- Forecasted Air Quality: View the forecasted air quality index and metrics.
- Historical Air Quality: Retrieve and visualize air quality data from the past week.
- Visual Representation: The bot generates images to display air quality metrics with color coding based on the Air Quality Index (AQI).
- Python 3.x
- Telegram account and bot token
- OpenWeatherMap API key
- Clone the Repository:
git clone https://github.com/yourusername/air-quality-telegram-bot.git cd air-quality-telegram-bot pip install -r requirements.txt