1. MailChimp
  2. Untitled project
  3. mailchimp-api-python


jessedp  committed 0167467

add readme w/ link to examples

  • Participants
  • Parent commits 9cae89a
  • Branches master
  • Tags 2.0.4

Comments (0)

Files changed (3)

File README.md

View file
+A NodeJS API client for [v2 of the MailChimp API](http://apidocs.mailchimp.com/api/2.0/). Please note that we generate this client/wrapper, so while we're happy to look at any pull requests, ultimately we can't technically accept them. We will, however comment on any additions or changes made due to them before closing them.
+This can be installed via our [pypi package](https://pypi.python.org/pypi/mailchimp) using:
+$ pip install mailchimp
+A basic example app to help kickstart you which - will also automatically install this package - is over in a public [github](https://github.com/mailchimp/mcapi2-python-examples) repo

File mailchimp.py

View file
         params = json.dumps(params)
         self.log('POST to %s%s.json: %s' % (ROOT, url, params))
         start = time.time()
-        r = self.session.post('%s%s.json' % (ROOT, url), data=params, headers={'content-type': 'application/json', 'user-agent': 'MailChimp-Python/2.0.3'})
+        r = self.session.post('%s%s.json' % (ROOT, url), data=params, headers={'content-type': 'application/json', 'user-agent': 'MailChimp-Python/2.0.4'})
             remote_addr = r.raw._original_response.fp._sock.getpeername() # grab the remote_addr before grabbing the text since the socket will go away

File setup.py

View file
     name = 'mailchimp',
-    version = '2.0.3',
+    version = '2.0.4',
     author = 'MailChimp Devs',
     author_email = 'api@mailchimp.com',
     description = 'A CLI client and Python API library for the MailChimp email platform.',