@eyedea-sockets/mailchimp

0.1.5 • Public • Published

Syncano Socket to manage mailchimp subscriptions

Syncano Socket CircleCI branch Codecov branch JavaScript Style Guide npm license

Main Socket features:

  • mailchimp/signup — sign up email to the mailchimp list

Getting Started

Install package in your project:

cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/mailchimp --save
export SOCKET_MAILCHIMP_API_KEY=<mailchimp api key> // or you will be asked during deploy
npx s deploy

Use it:

import Syncano from '@syncano/client'

const s = new Syncano(<instaneName>)

// List and email
const params = {
  listId: 12345
  email: 'test@test.pl'
}
const signupStatus = await s.get('mailchimp/signup', params)

Dependencies (3)

Dev Dependencies (13)

Package Sidebar

Install

npm i @eyedea-sockets/mailchimp

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

817 kB

Total Files

17

Last publish

Collaborators

  • hzub
  • maciejkorsan
  • idered
  • qk