Skip to content

sendpulse/sendpulse-rest-api-node.js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
January 18, 2023 12:19
January 11, 2019 13:46
January 11, 2019 13:46
June 18, 2015 11:08
March 13, 2020 16:52
April 17, 2017 17:49
April 11, 2019 14:33
January 18, 2023 12:19

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