Last active
August 29, 2015 14:09
-
-
Save kaeawc/54e7b8ca22e686d1a767 to your computer and use it in GitHub Desktop.
Mailchimp Subscription
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apikey = 'you_api_key' | |
list_id = 'your_list_id' | |
from mailchimp import Mailchimp | |
mailchimp = Mailchimp(apikey=apikey) | |
mailchimp.lists.subscribe(id=list_id, email={u"email",u"youremailaddress+testingmailchimp@yourcompany.com"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment