Accessing a (new-style, public) Google sheet as JSON
If you want to use the latest API (v4), you’ll need to do the following: Generate a spreadsheets API key (see instructions below). Make your sheet publicly accessible. Use a request of the form: https://sheets.googleapis.com/v4/spreadsheets/SPREADSHEET_ID/values/RANGE?key=API_KEY You’ll then get a clean JSON response back: { “range”: “Sheet1!A1:D5”, “majorDimension”: “ROWS”, “values”: [ [“Item”, “Cost”, “Stocked”, “Ship Date”], … Read more