Haskell library to interact with Mailchimp JSON API Version 3.0
This package contains the basic functions supported by Mailchimp JSON API. For HTTP Authentication, it uses Basic HTTP Authentication.
MailchimpSimple
A library to handle mailing lists in Mailchimp (http://mailchimp.com/)
Features
This library is written in Haskell, to interact with Mailchimp's JSON API. The initial commit supported only the Mailchimp 2.0 version. Now the library is available for version 3.0 using Basic HTTP Authentication. This implements the following functionalities;
- Adding individual subscribers and in batches
- List the mailing lists for given 'apikey'
- List out the subscribers in a mailing list
- List the templates and campaigns in an account
- Create a new campaign
- Send a campaign (for this the campaign should be properly formatted using the web interface)
- Add subscribers in batches and individually and remove individual subscribers from a given list
Here are the links for the blog posts written on this [http://dananjiliyanage.blogspot.com/2015/07/develop-mailchimp-library-with-haskell.html, http://dananjiliyanage.blogspot.com/2016/03/using-basic-http-authentication-in.html]
How to use
Given that you have installed Haskell platform in your machine; (If not, follow this link: https://www.haskell.org/platform/windows.html)
- Clone the Git repository using 'git clone https://github.com/Dananji/MailchimpSimple.git'
- Open the terminal, and browse into the cloned project folder
- Run 'cabal update'
- Then type 'cabal install' in the terminal.