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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    10
  • 0.1.0
    3

Package Sidebar

Install

npm i apostle

Weekly Downloads

10

Version

0.1.1

License

none

Last publish

Collaborators

  • diy
  • snikch