DISCLAIMER: The MailerLite API has been upgraded with breaking changes, making this library deprecated. This project is not maintained anymore because I've quit using MailerLite.
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.
- Module documentation: http://fmoliveira.com.br/mailerlite-sdk-nodejs/
- API documentation: https://docs.mailerlite.com/
MIT.