Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chimp-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chimp-wrapper

Simple Promise based wrapper for MailChimp API v3

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

STATUS: Added campaigns methods see WIKI

Simple Promise based Mailchimp v3 wrapper for Node.js

All methods return a Promise.

npm install --save chimp-wrapper

Basic methods calls

Insert API path only without protocol/domainname, the full url will be geneted from you API key (EG: /lists)

you can use relative or absolute path it will be generated as a absolute anyway

var ChimpWrapper = require('chimp-wrapper');
const CW = new ChimpWrapper(yourApiKeyString);

CW.get (PATH);
CW.post (PATH, body);
CW.put/patch (PATH, body);
CW.delete (PATH);

Query Builder Methods

See WIKI

Tests

there are tests suites in test/ before testing rename .env-sample.json to .env.json and edit the API_KEY inside to match the one for you testing account. all the created element gets deleted after tests. Also TEST_MAIL for mail testing, and LIST_ID used in campaings testing where you can use your dummy list if you need to test.

npm test

##Client-side support Builded a version for client but seems like the new api doesn't accept apiKey calls, I'll give it a look in the future or make a separate repo for the client version with OAuth.

Keywords

FAQs

Package last updated on 24 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc