aqipy

A simple CLI to get live Air Quality Indices


License
MIT
Install
pip install aqipy==0.2.1

Documentation

AQIPY

A simple tool to get Air Quality Indices from around the world.

Installation

  1. Get an API token here.
  2. Create an environment variable with your token:
    export AQIPY_TOKEN='<your_new_token>'
  3. Clone this repository.
  4. From your new directory:
    pip3 install -e .

Usage

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>]

Example

$ aqipy geo --latlon 53.8 -7.4

Attribution

This tool uses APIs provided by the World Air Quality Index Project.