node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

newsletter2go api implementation written in coffee-script is a german online newsletter software.

You can find the API documentation on the website.

Currently this implementation only implements the send mails functionality.

Feel free to contribute.


#!/usr/bin/env coffee 
Newsletter2Go = require './newsletter2go'
key = 'YOUR API KEY'
api = Newsletter2Go key
params =
    to: ''
    from: ''
    subject: 'subject line'
    html: '<h1>headline</h2><p>paragraph</p>'
    text: 'this is a testmail'
api.sendMail paramsconsole.log