Mercurial > coderloop
diff src/stalk.clj @ 0:307a81e46071 tip
initial committ
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 18 Oct 2011 01:17:49 -0700 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/stalk.clj Tue Oct 18 01:17:49 2011 -0700 1.3 @@ -0,0 +1,13 @@ 1.4 +(ns coderloop.stalk 1.5 + (:use rlm.shell-inspect) 1.6 + (:require [clojure.contrib [duck-streams :as ds]]) 1.7 + (:use [clojure.contrib [def]]) 1.8 + 1.9 + ) 1.10 + 1.11 + 1.12 + 1.13 +(defn info [username] 1.14 + 1.15 + (ds/slurp* 1.16 + (str "http://api.coderloop.com/1/users/show.json?username=" username)))