The main purpose of this module is to easily list, add and remove subscriber of an OVH Mailing-list.
It also provides a cache with memoize to avoid latency when you are list multiples times.
npm install
const ml = require('ovh-mailinglist');
ml.init({
endpoint: 'ovh-eu',
appKey: 'keykeykeykeykey',
appSecret: 'secretsecretsecretsecret',
consumerKey: 'keykeykeykeykeykeykeykeykeykey'
});
ml.get('my-mailing@my-domain.org')
.then((emails) => {
console.log(emails);
});
- ovh@2.0.1
- memoizee0.4.5