Skip to content

Instantly share code, notes, and snippets.

View dzuluaga's full-sized avatar

Diego Zuluaga dzuluaga

View GitHub Profile
@dzuluaga
dzuluaga / import_json_appsscript_with_authorization_header.js
Last active September 28, 2016 23:30 — forked from paulgambill/import_json_appsscript.js
This gist is a fork of import_json_appsscript from Paul Gambil with support of authorization header.
/**
* 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();