Python PurpleAirAPI (PAA) Implementation

Hello All,

Just thought I would share with you a side project I’ve been working on. This is the link to the repository:

In a nutshell, the “” sends get requests using the python request library. Not all supported requests have been implemented. At the moment only fetching data from one sensor is supported. In the works is the ability to fetch data from multiple sensors, along with the historical parts of the new PAA.

Alongside the “” there is a “”. This file currently supports the ability to insert data from a single sensor into a TimeScaleDB PostgreSQL database.

Lastly, the “” file just contains all the PSQL query statements that are used in “”.

What is TimeScaleDB