Node.js wrapper for MailerLite API.
Install with npm: npm install --save mailerlite
.
Browse your lists:
var MailerLite = require('mailerlite');
var ML = new MailerLite(apiKey);
ML.Lists.getAll()
.then(function(data) {
console.log(data);
});
Browse the documentation to read more.
All methods will return promises. Support for callbacks is planned to be implemented soon.
- Module documentation: http://fmoliveira.com.br/mailerlite-sdk-nodejs/
- API documentation: https://docs.mailerlite.com/
MIT.