JavaScript, spreadsheets and API
summary
Claim: you can script spreadsheets with JavaScript to call real APIs, map JSON into rectangular results and show them in a sheet. Demonstrations use Google Sheets custom functions (Apps Script with a blocking UrlFetch), a MockAPI endpoint and a live Toggl time-entries aggregation that reduces five entries to three summaries. Code is tiny: fetch url parse JSON map to array-of-arrays. Caveats: synchronous runtime quirks, ECMA‑4 style limits, vendor lock‑in, no easy testing and duplicate invocations risk on writes.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:47Developers overbuild solutions
- 3:14Spreadsheets power and limits
- 5:21Why spreadsheets feel boring to developers
- 6:43Scripting spreadsheets with JS
- 8:27Demo: JS in Google Sheets
- 10:13How spreadsheet API works
- 12:40Real use case: Toggle API
- 15:29Spreadsheets modify external data
- 17:33Google Apps Script is JS
- 19:20Google vs Microsoft Sheets
- 20:45Risks of spreadsheet scripting
- 21:50Spreadsheets as backend
- 23:39Q&A








