Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pipelinedeals

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipelinedeals

Easier access to the PipelineDeals API

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-6.67%
Maintainers
1
Weekly downloads
 
Created
Source

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, //REQUIRED
  apiKey: STRING, //REQUIRED
  paginationDelay: NUMBER, //OPTIONAL Defaults to 0
  debug: BOOLEAN //OPTIONAL Defaults to false
}

There is a strict 5 calls per second that pipelinedeals enforces. While the calls are already made sequentially and timeout problems are low, you have the option to add an extra wait time before making the next paged call. Pass in the number of milliseconds you want to wait.

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

Keywords

FAQs

Package last updated on 23 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc