def connect_mailchimp(api_key):
 mailchimp = MailSnake(api_key)
 result = mailchimp.ping()
 log.debug(result)
 return mailchimp

def connect_mailchimp ( api_key ) : mailchimp = MailSnake ( api_key ) result = mailchimp . ping ( ) log . debug ( result ) return mailchimp
initializes connection to the mailchimp api .