Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6 from jamescooke/master
Browse files Browse the repository at this point in the history
Extend list_subscribe to match v1.3 mailchimp API
  • Loading branch information
beniwohli committed Sep 25, 2012
2 parents ff3708e + 6fd48dd commit b080450
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mailchimp/chimpy/chimpy.py
Expand Up @@ -115,13 +115,19 @@ def list_subscribe(self,
email_address,
merge_vars,
email_type='text',
double_optin=True):
double_optin=True,
update_existing=False,
replace_interests=True,
send_welcome=False):
return self._api_call(method='listSubscribe',
id=id,
email_address=email_address,
merge_vars=merge_vars,
email_type=email_type,
double_optin=double_optin)
double_optin=double_optin,
update_existing=update_existing,
replace_interests=replace_interests,
send_welcome=send_welcome)

def list_unsubscribe(self,
id,
Expand Down

0 comments on commit b080450

Please sign in to comment.