{"action":"opened","issue":{"url":"https://api.github.com/repos/ACECentre/SpeechBubble/issues/17","labels_url":"https://api.github.com/repos/ACECentre/SpeechBubble/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ACECentre/SpeechBubble/issues/17/comments","events_url":"https://api.github.com/repos/ACECentre/SpeechBubble/issues/17/events","html_url":"https://github.com/ACECentre/SpeechBubble/issues/17","id":53535885,"number":17,"title":"Users/Mailchimp","user":{"login":"willwade","id":229352,"avatar_url":"https://avatars.githubusercontent.com/u/229352?v=3","gravatar_id":"","url":"https://api.github.com/users/willwade","html_url":"https://github.com/willwade","followers_url":"https://api.github.com/users/willwade/followers","following_url":"https://api.github.com/users/willwade/following{/other_user}","gists_url":"https://api.github.com/users/willwade/gists{/gist_id}","starred_url":"https://api.github.com/users/willwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willwade/subscriptions","organizations_url":"https://api.github.com/users/willwade/orgs","repos_url":"https://api.github.com/users/willwade/repos","events_url":"https://api.github.com/users/willwade/events{/privacy}","received_events_url":"https://api.github.com/users/willwade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-06T16:57:21Z","updated_at":"2015-01-06T16:57:21Z","closed_at":null,"body":"So on signup, if user happy to be contacted then add to MailChimp list. \r\n\r\nNot sure if this should be leveraged by Mandrill.. The mailchimp API is crappy. Here is the code that we used on (aacnews.info)[https://github.com/ACECentre/aacnews/blob/master/app.py#L169] that may help (see (API docs on subscribe)[https://apidocs.mailchimp.com/api/2.0/lists/subscribe.php])\r\n\r\n\r\n            mcout = mailchimp_client.lists.subscribe('ec5a06da07', {'email':request.form['EMAIL']}, {'groupings': [{'id': 11085,'groups': ('AACinfo',AddToOther)}], 'optin_ip':usersip, 'LOCATION':'Unspecified','POINT':'SpeechBubble','TYPE':request.form['ROLE']},'html', True, True, False)\r\n"}}