1.5.0 • Published 6 years ago

@fabrix/spool-mailchimp v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

spool-mailchimp

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

:package: Mailchimp Spool

For Documentation see Mailchimp API V3

Install

$ npm install --save @fabrix/spool-mailchimp

Configure

// config/main.ts
import { MailchimpSpool } from '@fabrix/spool-mailchimp'
export const main = {
  spools: [
    // ... other spools
    MailchimpSpool
  ]
}

Configuration

// config/mailchimp.ts
export const mailchimp = {
  api_key: '<your_api_key>'
}

For more information about store (type and configuration) please see the mailchimp documentation.

Usage

  this.app.mailchimp.get(<api_action>)
  .then(mailchimp => {
    // Do something with your MAILCHIMP
  })