Basic Prometheus Scraping Script To Grab WAQI Air Pollution Data For A Station

Basic Prometheus scraping script to grab WAQI air pollution data for a station

View on GitHub

About This Project

This project implements a basic script that utilizes Prometheus to scrape real-time air quality data from the World Air Quality Index (WAQI) API for designated monitoring stations. It is aimed at developers and researchers interested in tracking air pollution levels and environmental data over time. The script fetches data such as particulate matter (PM2.5, PM10), ozone, and other pollutants, making it suitable for applications that require environmental monitoring.

Built using Python, the script leverages the Prometheus client library to expose the scraped data in a format compatible with Prometheus servers. This implementation allows users to visualize air quality trends and set up alerts based on predefined thresholds. Potential use cases include environmental research, urban planning, and public health monitoring, making it a valuable tool for anyone interested in air quality metrics.

Project Details

Explore More Projects