block by ekerstein 56757f993a7a8d17eabbca5a8562f5cc

Python script to pull PurpleAir data for multiple sensors from the Thingspeak API, combine them, and export a CSV file. To run this script you'll need to adjust the "user config" section, and you may also want to adjust the Thingspeak query parameters starting on row 49.

purpleair.py