pipelinedeals
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -17,2 +17,5 @@ var request = require('request'); | ||
var url = BASE_URL + options.endpoint + '?api_key=' + options.apiKey + '&page=' + page + '&per_page=200'; | ||
if(options.debug) { | ||
console.log('pipelinedeals url: ', url); | ||
} | ||
@@ -26,2 +29,5 @@ request({url: url}, function (err, response, body) { | ||
} catch (e) { | ||
if(options.debug) { | ||
console.log('pipelinedeals response: ', body); | ||
} | ||
return callback('Response was not valid json. The Url was probably invalid. URL: ' + url); | ||
@@ -28,0 +34,0 @@ } |
{ | ||
"name": "pipelinedeals", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Easier access to the PipelineDeals API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
var pld = require('./index'); | ||
var options = { | ||
endpoint: 'profile.json', | ||
apiKey: 'lUVTLOpqMwOhFzsQ7rWD///' | ||
endpoint: 'company_custom_field_labels.json', | ||
apiKey: 'lUVTLOpqMwOhFzsQ7rWD' | ||
}; | ||
@@ -7,0 +7,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3781
53