A simple tool to get Air Quality Indices from around the world.
- Get an API token here.
- Create an environment variable with your token:
export AQIPY_TOKEN='<your_new_token>'
- Clone this repository.
- From your new directory:
pip3 install -e .
pip install aqipy
To get the AQI for your current location (IP based):
aqipy
To get the AQI for a specific location (latitude longitude):
aqipy geo [--latlon / -l <lat lon>]
$ aqipy geo --latlon 53.8 -7.4
This tool uses APIs provided by the World Air Quality Index Project.