Pregunta

What is the simplest way - or library - to add a subscriber to mailchimp with python 2.5 on google app engine?

¿Fue útil?

Solución

mailsnake and PostMonkey both require Requests library, which dropped python 2.5 support with 0.10.1.

The simplest path seems to be chimpy.

Code Sample:

from chimpy import chimpy

chimp = chimpy.Connection('MAILCHIMP_APIKEY')
chimp.list_subscribe('your_list_id', self.request.get('email'), {'FIRST': '', 'LAST': ''}, double_optin=False)

Otros consejos

The MailChimp API has all the details for the functionality that you want.

Hope this helps.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top