No project description provided
Project description
purple_air_api (PAA)
This is a python3 wrapper for the new PurpleAirAPI (PAA). Details of the API can be found using this link: https://api.purpleair.com/#api-welcome
To use the PurpleAirAPI (PAA) api keys are required. You can get API keys by sending an email to contact@purpleair.com with a first and last name to assign them to.
How to Support This Project
Purpose
This package is designed to be used for making tools around the PurpleAir API.
For example, PAA data loggers - https://github.com/carlkid1499/purpleair_data_logger
Installation
You can install the PurpleAir API via pip.
python3 -m pip install purple_air_api
You can install PurpleAir API by cloning down this repo.
git clone https://github.com/carlkid1499/purple_air_api.git
cd purple_air_api
python3 setup.py install
Usage Example
First we need to import the PurpleAir API (PAA)
from purpleair_api.PurpleAirAPI
Next we need to make an instance of PAA.
my_paa = PurpleAirAPI(your_api_read_key, your_api_write_key)
Now you can use that PAA instance to do things like...
retval = my_paa.request_sensor_data(1234)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file purpleair_api-1.0.1a1.tar.gz.
File metadata
- Download URL: purpleair_api-1.0.1a1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a70bc91409b4c1dd995630109aa3d2792f5b91efabe2550b6945e58b17f7cb
|
|
| MD5 |
dd91662289d774ddba27cf3b222de8b2
|
|
| BLAKE2b-256 |
84407d7400b1e5cc890a9fcc80da600c66179fc9e26976ca2f681ecf68b6a350
|
File details
Details for the file purpleair_api-1.0.1a1-py3-none-any.whl.
File metadata
- Download URL: purpleair_api-1.0.1a1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a72133ebe50efcd645badba38b4f10ef572005068563d7a9caa256b03dc392d
|
|
| MD5 |
fe3e235c2cc72c6e3414c7b05a3f815a
|
|
| BLAKE2b-256 |
3cc1d1c13805f9a2dfcee12bcfbb180cb078406fd30751ffd92ebe1b15c0117e
|