ovh-mailinglist

0.1.1 • Public • Published

OVH Mailinglist

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.

Install

npm install

How to use it

const ml = require('ovh-mailinglists');

ml.init({
  endpoint: 'ovh-eu',
  appKey: 'keykeykeykeykey',
  appSecret: 'secretsecretsecretsecret',
  consumerKey: 'keykeykeykeykeykeykeykeykeykey'
});

ml.get('my-mailing@my-domain.org')
  .then((emails) => {
    console.log(emails);
  });

Dependencies

  • ovh@2.0.1
  • memoizee0.4.5

Readme

Keywords

none

Package Sidebar

Install

npm i ovh-mailinglist

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jfroffice