sendpulse-api
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

Node.js Package

SendPulse-rest-api-node.js

A simple SendPulse REST client library and example for Node.js

API Documentation https://sendpulse.com/api

Install

npm install sendpulse-api

Usage

var sendpulse = require("sendpulse-api");
/*
 * https://login.sendpulse.com/settings/#api
 */
var API_USER_ID = "USER_ID";
var API_SECRET = "USER_SECRET";
var TOKEN_STORAGE = "/tmp/";

sendpulse.init(API_USER_ID,API_SECRET,TOKEN_STORAGE,function() {
    sendpulse.listAddressBooks(console.log);
});

You can get full list of API library methods in example

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.6
    1,150
    • latest

Version History

Package Sidebar

Install

npm i sendpulse-api

Weekly Downloads

3,824

Version

1.1.6

License

Apache-2.0

Unpacked Size

57.4 kB

Total Files

8

Last publish

Collaborators

  • sendpulse.com
  • dshemendiuk