A Python3 wrapper written for the new PurpleAir API [https://api.purpleair.com/]. Find this package on pypi: https://pypi.org/project/purpleair-api/#history You can grab your own sensor here: https://www2.purpleair.com/
Investigate adding unit tests for the code in this repo.
The tests should be easy to run. More importantly they should run quickly so that the feedback loop is small.
What's new in 1.0.12
You can now request public and / or private data from the history API.
This new feature is controlled through the use of a privacy parameter on the history end points. Along with this new parameter is a data column called private that will always be included when private and public data appears in the same response. The possible values for this column will be listed in the privacy field. See the documentation below for more details.
What's new in 1.0.13
Points and other account details are now available from the /organization endpoint.
Information previously only available in the Developer Dashboard is now programmatically accessible through the API. This includes the remaining points and consumption rate enabling dynamic code behavior. Try sending a sample request to obtain your organization's information using the documentation below.