It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center。
在google app engine上,用python 2.5向mailchimp添加订阅者的最简单的方法(或库)是什么?
最佳答案
mailsnake和PostMonkey都需要Requests库,后者放弃了python 2.5对0.10.1的支持。
最简单的途径似乎是chimpy。
代码示例:
from chimpy import chimpy
chimp = chimpy.Connection('MAILCHIMP_APIKEY')
chimp.list_subscribe('your_list_id', self.request.get('email'), {'FIRST': '', 'LAST': ''}, double_optin=False)
08-20 02:52