Skip to content
Browse files

updated docs and bumped a few dependencies

  • Loading branch information...
1 parent 71a0e95 commit 6e605461c43fceaf3dcc50923b20d13402185bb0 @pelle pelle committed
Showing with 25 additions and 9 deletions.
  1. +22 −6 README.md
  2. +3 −3 project.clj
View
28 README.md
@@ -8,23 +8,33 @@ A simple Clojure library wrapper for MailChimp
Add the following to your project.clj's dependencies section:
- [climp "0.1.2"]
+```clojure
+[climp "0.1.2"]
+```
Import the library:
- (use 'climp.core)
+```clojure
+(use 'climp.core)
+```
-You can call any method listed in the (MailChimp V1.3 API)[http://apidocs.mailchimp.com/api/1.3/]
+You can call any method listed in the [MailChimp V1.3 API](http://apidocs.mailchimp.com/api/1.3/)
- (call-mailchimp "listSubscribe" {:id "123" :email_address "test@test.com"})
+```clojure
+(call-mailchimp "listSubscribe" {:id "123" :email_address "test@test.com"})
+```
A few of the methods have nicer clojure wrappers around them. I hope to expand this as we go.
- (lists) ; Returns your mailing lists
+```clojure
+(lists) ; Returns your mailing lists
+```
Subscribe an email address:
- (subscribe "123" "test@test.com")
+```clojure
+(subscribe "123" "test@test.com")
+```
## Configuring API Keys
@@ -32,8 +42,14 @@ The easiest way to set it up is to set your api key in the MC_API_KEY environmen
Alternatively you can create a dynamic binding for *mc-api-key*.
+## Use Mandrill?
+
+We also maintain a simple clojure library [clj-mandrill](https://github.com/economico/clj-mandrill) for interacting with Mandrill.
+
## License
Copyright © 2012 PicoMoney Company
+Manage and track your startups economy using our new service [Economi.co](http://economi.co).
+
Distributed under the Eclipse Public License, the same as Clojure.
View
6 project.clj
@@ -1,9 +1,9 @@
(defproject climp "0.1.2"
:description "MailChimp wrapper for clojure WIP"
- :url "http://github.com/economico/mailchimp-clj"
+ :url "http://github.com/economico/climp"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]
- [clj-http "0.5.2"]
- [cheshire "4.0.1"]]
+ [clj-http "0.5.5"]
+ [cheshire "4.0.4"]]
:profiles {:dev {:dependencies [[clj-http-fake "0.4.1"]]}})

0 comments on commit 6e60546

Please sign in to comment.
Something went wrong with that request. Please try again.