Skip to content

Instantly share code, notes, and snippets.

View GoulartNogueira's full-sized avatar
💡

André Goulart Nogueira GoulartNogueira

💡
View GitHub Profile
@GoulartNogueira
GoulartNogueira / import_json_appsscript.js
Last active March 23, 2023 23:29 — forked from paulgambill/import_json_appsscript.js
Import a json file from URL to spreadsheet... With Cache
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();