Created
December 28, 2010 17:56
-
-
Save mlehman/757479 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def my-credentials | |
(struct credentials "my-token" "my-client-name")) | |
(get-users my-credentials) | |
(get-projects my-credentials) | |
(get-tags my-credentials) | |
(get-entries my-credentials) | |
(get-entries my-credentials | |
{:to "iso-date-string" :from "iso-date-string"}) | |
;; using clojure.set | |
(project | |
(join | |
(get-projects my-credentials) | |
(get-entries my-credentials) | |
{: Id :project-id}) | |
[:date :minutes :name :description]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment