Simon Willison: TILs on purpleair

purpleair Calculating the AQI based on the Purple Air API for a sensor - 2021-08-31

Purple Air sensors have an API at https://www.purpleair.com/map.json?show=SENSOR-ID-HERE, which returns JSON that looks something like this: …