apostle

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i apostle

Weekly Downloads

6

Version

0.1.1

License

none

Last publish

Collaborators

  • diy
  • snikch