Skip to content
Browse files

Add Activity

  • Loading branch information...
1 parent fabd95a commit 4ac34cbb18a1d83ed8dd34fcc612ecc97eebcae1 @DuoSRX committed Feb 7, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/clojure_geeklist/geeklist.clj
View
15 src/clojure_geeklist/geeklist.clj
@@ -130,3 +130,18 @@
"Highfive an item (user, card ... etc)"
[type id]
(make-request "highfive" [] :POST {:type type :gfk id}))
+
+(defn activity
+ "Get the authenticated user activity"
+ [& [options]]
+ (make-request "user/activity" [] :GET options))
+
+(defn user-activity
+ "Get a specific user activity"
+ [id & [options]]
+ (make-request "users/%s/activity" [id] :GET options))
+
+(defn all-activity
+ "Get all the activity"
+ [& [options]]
+ (make-request "activity" [] :GET options))

0 comments on commit 4ac34cb

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