pipelinedeals
A node module for easier access to the GET calls of the PipelineDeals API.
This essentially is just a wrapper around the pagination that they implement.
It will always return an array of entries (even with the profile.json call)
##Usage
var pld = require('pipelinedeals');
var options = {
endpoint: 'deals.json',
apiKey: 'INSERT_API_KEY_HERE'
};
pld.get(options, function(err, entries){
//here you have access to the data from the call
});
Options should appear as such
{
endpoint: STRING,
apiKey: STRING
}
The endpoint for this url https://api.pipelinedeals.com/api/v3/deals.json
is deals.json
The endpoint for this url https://api.pipelinedeals.com/api/v3/account_notifications.json
is account_notifications.json