A simple CLI to get live Air Quality Indices
Project description
AQIPY
A simple tool to get Air Quality Indices from around the world.
Installation
- 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 .
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>]
Attribution
This tool uses APIs provided by the World Air Quality Index Project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aqipy-0.2.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
aqipy-0.2.1-py3-none-any.whl
(3.7 kB
view hashes)