apostle

Node.js API client for Apostle.io

npm install apostle
14 downloads in the last day
42 downloads in the last week
91 downloads in the last month

apostle

Node.js API client for Apostle.io

Build Status

Installation

npm install apostle

Basic Use

var apostle = require('apostle')('DOMAIN_KEY');

apostle({
    email: 'andrewsliwinski@acm.org',
    template: 'test-template',
    values: {
        name: 'Andrew',
        hello: 'world'
    }
}, function (err, response) {
    if (err) return;        // Something really bad happened
    console.dir(response); 
});

Testing

npm test
npm loves you