Skip to content

Commit

Permalink
tidy up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benlcollins committed Mar 21, 2017
1 parent 91465b2 commit 1c90190
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions api_008_crunchbase/api_008_crunchbase.gs
Expand Up @@ -29,12 +29,8 @@ function getCrunchbasePeople() {

// URL and params for the Crunchbase API
var url = 'https://api.crunchbase.com/v/3/odm-people?query=' + encodeURI(query) + '&user_key=' + USER_KEY;
//var url = 'https://api.crunchbase.com/v/3/products?query=' + encodeURI(query) + '&user_key=' + USER_KEY;

//Logger.log(url);

var json = getCrunchbaseData(url,query);
//Logger.log(json);

if (json[0] === "Error:") {
// deal with error with fetch operation
Expand All @@ -49,7 +45,6 @@ function getCrunchbasePeople() {
}
else {
var data = json[1].data.items[0].properties;
//Logger.log(data);

// correct data comes back, parse into array for Google Sheet
var outputData = [
Expand Down Expand Up @@ -90,10 +85,8 @@ function getCrunchbaseOrgs() {

// URL and params for the Crunchbase API
var url = 'https://api.crunchbase.com/v/3/odm-organizations?query=' + encodeURI(query) + '&user_key=' + USER_KEY;
//Logger.log(url);

var json = getCrunchbaseData(url,query);
//Logger.log(json);

if (json[0] === "Error:") {
// deal with error with fetch operation
Expand Down

0 comments on commit 1c90190

Please sign in to comment.