Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

@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)

Install

npm i @eyedea-sockets/mailchimp

DownloadsWeekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

817 kB

Total Files

17

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar