A python client for v3 of MailChimp API
Project description
A python client for v3 of MailChimp API
About
This package aims to provide a straighforward python client to interact with Mailchimp API v3.
Installation
This client is hosted at PyPi under the name mailchimp3, to install it, simply run
pip install mailchimp3
Dependencies
requests >= 2.7.0
Examples
from mailchimp3 import MailChimp client = MailChimp('YOUR USERNAME', 'YOUR SECRET KEY') client.lists.all() # returns all the lists client.lists.get('123456') # returns the list matching id '123456' client.campaign.all() # returns all the campaigns
Usage
Automation
client.automation.all() client.automation.get(workflow_id='') client.automation.pause(workflow_id='') client.automation.start(workflow_id='') client.email.all(workflow_id='') client.email.get(workflow_id='', email_id='') client.email.pause(workflow_id='', email_id='') client.email.start(workflow_id='', email_id='')
Campaigns
client.campaign.all() client.campaign.get(campaign_id='') client.campaign.delete(campaign_id='') client.feedback.all(campaign_id='') client.feedback.create(campaign_id='', data={}) client.feedback.get(campaign_id='', feedback_id='') client.feedback.update(campaign_id='', feedback_id='', data={}) client.feedback.delete(campaign_id='', feedback_id='')
Conversations
TODO
Files
TODO
Lists
TODO
Reports
TODO
Templates
TODO
Support
If you are having issues, please let us know.
License
The project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mailchimp3-1.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c96d0916ba0aeb5ce7ed428aa707d64dc0d38e98b3ea0c9b6689e931aad68b |
|
MD5 | de343faa5ce42f44e8a4c24c7ae4bed5 |
|
BLAKE2b-256 | 2fdcc689a6c561d98d45b36470ebf2ad4e43aed5f8e5b1eda4d5b3a5a64589ed |