Skip to content

Instantly share code, notes, and snippets.

@MappingKat
Created September 29, 2016 15:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MappingKat/3712e7e9df67957b30a1d5c0d1cbd26f to your computer and use it in GitHub Desktop.
Save MappingKat/3712e7e9df67957b30a1d5c0d1cbd26f to your computer and use it in GitHub Desktop.
function fetchRecords() {
var formId = "a8245687-0373-432e-98a2-b53074708ac9";
var response = "https://api.fulcrumapp.com/api/v2/records.json?form_id=" + formId + "&token=" + fulcrumAPIkey;
var options = {
"method": "GET",
"contentType": "application/json"
};
var recordJSON = UrlFetchApp.fetch(response, options);
var records = JSON.parse(recordJSON).records;
loopThrough(records);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment