A telegram bot that provides real-time worldwide air pollution data at your fingertips, made using python-telegram-bot library.
This bot allows you to get real-time air quality data based on your geolocation and even lets you search for AQI data by providing city name and more. It provides AQI data for any place over world. It uses the data available from World Air Qualitiy Index.
- Check air quality for any location worldwide
- Get detailed pollutant information (PM2.5, PM10, CO, NO2, SO2, O3)
- Learn about air pollution and protection measures
- Find recommended anti-pollution masks
- Use inline mode in any chat for quick checks
/start
- Start the bot and get welcome message/quality
- Check Air Quality Index of your current location/search <city>
- Check Air Quality Index of any city/guide
- Get detailed information about smog and how to tackle it/masks
- View information about anti-pollution masks and buying guide/help
- Display list of available commands/feedback
- Send feedback to the bot creator/rate
- Rate the bot on Bot Store
Install the required dependencies/libraries by running :
$ pip install -r requirements.txt
To be able to run this bot, you will need to create a file named config.py
in root directory and save a variable named bot_token
and pass the token for your bot that you can obtain using BotFather.
Run using:
python bot.py