SQL functions in Google Sheets to fetch data from Datasette
Simon WillisonArchived Apr 20, 2026✓ Full text saved
TIL: SQL functions in Google Sheets to fetch data from Datasette I put together some notes on patterns for fetching data from a Datasette instance directly into Google Sheets - using the importdata() function, a "named function" that wraps it or a Google Apps Script if you need to send an API token in an HTTP header (not supported by importdata() .) Here's an example sheet demonstrating all three methods. Tags: spreadsheets , datasette , google