Metadata-Version: 2.1
Name: waqi-python
Version: 0.2.0
Summary: Python wrapper for the World Air Quality Index Project JSON API
Home-page: https://github.com/danoscarmike/waqi-python
Author: Dan O'Meara
Author-email: omeara.dan@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 1 - Planning
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
Requires-Dist: python-dateutil
Requires-Dist: requests

# waqi-python
Python wrapper for the World Air Quality Index Project JSON API

# Installation
1. Get an API token from the [World Air Quality Index Project](https://aqicn.org/data-platform/token/#/)
2. Create an environment variable called AQIPY_TOKEN:
`export AQIPY_TOKEN='<your_new_token>'`
3. `pip3 install waqi_python`

# Usage
```
>>> from waqi_python import client as core
>>> client = core.WaqiClient()
>>> my_station = client.get_local_station()
>>> my_station.city.name
'San Francisco-Arkansas Street, San Francisco, California'
>>> my_station.aqi
46
```


