Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 999 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 999 Bytes

Air Quality Telegram Bot

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.

Features

  • 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).

Prerequisites

  • Python 3.x
  • Telegram account and bot token
  • OpenWeatherMap API key

Installation

  1. Clone the Repository:
    git clone https://github.com/yourusername/air-quality-telegram-bot.git
    cd air-quality-telegram-bot
    pip install -r requirements.txt