mandrill-node
mandrill-node is a node.js module for interfacing with MailChimp's Mandrill API
##Installation
Installing using npm (node package manager):
npm install mandrill
If you don't have npm installed or don't want to use it:
cd ~/.node_libraries
git clone git://github.com/kai5263499/mandrill-node.git mandrill
var mandrill = require('mandrill');
##Requirements
##Examples
mandrill.call({'key':'mykey'});
mandrill.call({'type':'users','call':'info'}, function(data){
console.log(data);
});
##Contributions
The Mandrill node.js module is designed to be as static as Javascript allows, following a functional or lambda programming paradigm. If you want to learn more about this pattern of development and why this pattern was chosen above other, more traditional, javascript approaches please read the following excellent article http://howtonode.org/why-use-closure
If you would like to help maintain this project and/or if you have any questions or comments about the library's design or implementation I'd love to hear from you.
##Unit Tests
A unit test using nodeunit for the Mandrill module is avaliable in the 'unit' directory. You will need to copy the configure.json.example to configure.json and change the Mandrill API key from 'mykey' to your Mandrill API key in order for the tests to complete. If you want to contribute any bugfixes or examples please add a unit test for your code and make sure nothing else breaks.