Skip to content

fabrix-app/spool-mailchimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spool-mailchimp

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

📦 Mailchimp Spool

For Documentation see Mailchimp API V3 For Mailchimp Documentation see Mailchimp

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