cleverreach-wrapper
Promise based npm module for using CleverReach REST API
Install
$ npm install --save cleverreach-wrapper
Usage
var CleverReach = ; // Login credentialsvar cr = client_id: '123456' login: 'john.doe@foo.bar' password: 'abc123'; // Get all mailingscr; // Get single mailing with specified IDcr // Create new mailingvar newMailing = 'mailingData': 'name': 'This is the title' 'type': 'html/text' 'subject': 'subject line' 'sender_name': 'Bruce Whayne (Whayne corp.)' 'sender_email': 'bruce.whayne@gotham.com' 'group_id': '#' 'html': 'Newsletter Content' 'text': 'this is the Text only' ; cr;
API
You find detailed infos about the CleverReach REST API here
Here is a list of all implemented functions: