This package is highly inspired by https://github.com/thorning/node-mailchimp but aiming for another purpose: as small as possible while providing only the features we actually need
Differences to the mailchimp-api-v3 package
- no dependency on bluebird which makes node 8 the lowest compatible engine
- no callback support
- no lodash
- node-fetch instead of request
- for now no batching support
- errors are only throw when there was an actual error
mid-flightin every other case you'll get a response object containing the error inside status
- jest instead of mocha
Mailchimp api wrapper for v3 of the mailchimp api, with batch handling. Supports both promise and callback handling.
var Mailchimp =var mailchimp = api_key;//Promise stylemailchimp
seamless batch calls, with polling and unpacking of results
Version 3 of the mailchimp api is an excellent RESTful api. This library makes it easy to integrate mailchimp using their own api documentation.
This library also supports easy usage of the mailchimp batch operations, enabling them to be used just as the standard api calls.
$ npm install mailchimp-api-v3-next
For information on the possible calls, refer to the mailchimp api v3 documentation: http://developer.mailchimp.com/documentation/mailchimp/reference/overview/
var Mailchimp =var mailchimp = api_key;
path can be given either exactly as in the mailchimp documentation (
path_params specifying id values, or as a string with path parameters already substituted, and no
For each request method, convenience calls exists to make common calls:
This allows shorthand forms like: