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