Skip to content

Instantly share code, notes, and snippets.

View johnfewell's full-sized avatar

John Fewell johnfewell

View GitHub Profile
@johnfewell
johnfewell / airtable-to-csv-script.js
Last active April 18, 2023 17:28 — forked from sivcan/script.js
Scrape Airtable to CSV [Script]
/**
1. Observed the Network tab in chrome devtools
2. Found out the request that has all the data
3. Right click the data (response of the network request) -> Store as global variable (this basically makes the entire data
available in the Console of DevTools) - it’s stored under a variable called as temp1use that to convert my data.
4. Observed the payload, figured out how columnIds are mapped to the data that is present in the entire response JSON.
5. Wrote the following scripts to access the data:
**/
let columns = temp1.table.columns;