dyninc/DynectEmail-Node

Name: DynectEmail-Node

Owner: Dyn Inc

Description: Read and write to DynECT Email REST API

Created: 2012-01-05 22:32:13.0

Updated: 2016-12-16 21:43:13.0

Pushed: 2016-12-16 21:43:12.0

Homepage:

Size: 21

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dynectemail-node

Read and write DynECT Email.

Installation
npm install dynectemail
Usage
var DynectEmailNode = require('dynectemail').DynectEmailNode;

var dynectemail = new DynectEmailNode({
    apikey: 'apikey',                // Required. You can get this from the Integration page http://email.dynect.net/index.php?Page=Integration
    useragent: 'appname/vX.X MyApp', // Optional. Defaults to 'dynectemail-node'.
    format: 'json',                  // Optional. Defaults to 'json'. (json, xml, html)
    secure: true                     // Optional. Defaults to false. Will force ssl(port 443) if true.
});
Documentation
DynectEmailRequest
dynectemail.request(method, options, reqtype);

Returns a DynectEmailRequest instance.

Send request to DynECT Email. Requests automatically include the API key and are signed and/or sent via POST as described in the DynECT Email REST API documentation.

Methods:

Accepts any DynECT Email REST API method name, eg “reports/sent/count”.

Options:

All options are passed through to DynectEmail with the exception of the following.

Events:

Influences

Heavily drawn from jammus's lastfm-node
http://github.com/jammus/lastfm-node


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.