Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 3.32 KB

README.md

File metadata and controls

67 lines (53 loc) · 3.32 KB

Mailchimp Developer

mailchimp-client-lib-codegen

This tool is used to auto-generate and publish both Mailchimp Marketing and Transactional client libraries.

Quick start

git clone [email protected]:mailchimp/mailchimp-client-lib-codegen.git
cd mailchimp
npm install
npm run generate

Generate clients

# Install codegen
brew install swagger-codegen@2

# Update $PATH
export JAVA_HOME="/usr/libexec/java_home -v 1.8"
export PATH="$JAVA_HOME:$PATH"
export PATH="/usr/local/opt/swagger-codegen@2/bin:$PATH"

# See package.json for all available generate commands
npm run generate

Published clients — Internal

Marketing
Node.js mailchimp-marketing-node
PHP mailchimp-marketing-php
Ruby mailchimp-marketing-ruby
Python mailchimp-marketing-python
Transactional
Node.js mailchimp-transactional-node
PHP mailchimp-transactional-php
Ruby mailchimp-transactional-ruby
Python mailchimp-transactional-python

Published clients — External

Marketing
Node NPM
PHP Packagist
Ruby RubyGems
Python (Dist) PyPI
Python (Test)) PyPI
Transactional
Node NPM
PHP Packagist
Ruby RubyGems
Python (Dist) PyPI
Python (Test) PyPI