Commits

Edoardo Tosca committed e514c38

added basic readme

Comments (0)

Files changed (3)

 # clj-grooveshark
 
-A Clojure library to provide bindings to Grooveshark API.
+`clj-grooveshark` provides Clojure binding for Grooveshark API.
+
+Currently the binding is incomplete.
+
 
 ## Usage
 
-FIXME
+::
+
+  (ns hello-world
+    (:use clj-grooveshark.artist))
+
+  (defn search-artist [name]
+    (get-artist-search-results "grooveshark-api-key" "grooveshark-secret-key" name))
+
+
+
+
+## Installation
+
+`clj-grooveshark` is available as a Maven artifact from [Clojars](http://clojars.org/clj-grooveshark):
+
+    :dependencies
+      [["clj-grooveshark" "0.1.1-SNAPSHOT"]
+       ...]
+
+
+## Development
+
+    $ git clone git@bitbucket.org:ed0t/clj-grooveshark.git
+    $ lein deps
+    $ lein test
+    $ lein install
+
 
 ## License
 
-log4j.rootLogger=DEBUG, A1
+log4j.rootLogger=INFO, A1
 log4j.appender.A1=org.apache.log4j.ConsoleAppender
 log4j.appender.A1.layout=org.apache.log4j.PatternLayout
 log4j.appender.A1.layout.ConversionPattern=%d %-5p %c: %m%n

test/clj_grooveshark/album_test.clj

   {:body (json/write-str query)}
   )
 
-;
+
 
 (deftest should-check-if-an-album-exists
   (let [response (stringify {:header {:hostname "RHL073"}, :result true})]