Simon Willison’s Weblog

Subscribe

Tuesday, 31st August 2021

TIL Calculating the AQI based on the Purple Air API for a sensor — [Purple Air](https://www.purpleair.com/) sensors have an API at `https://www.purpleair.com/map.json?show=SENSOR-ID-HERE`, which returns JSON that looks something like this:
TIL Using the Chrome DevTools console as a REPL for an Electron app — I figured out how to use the Chrome DevTools to execute JavaScript interactively inside the Electron main process. I always like having a REPL for exploring APIs, and this means I can explore the Electron and Node.js APIs interactively.
Release datasette-app-support 0.1 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.1.1 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.1.2 — Part of https://github.com/simonw/datasette-app

2021 » August

MTWTFSS
      1
2345678
9101112131415
16171819202122
23242526272829
3031