Skip to content

Instantly share code, notes, and snippets.

@mlehman
Created December 28, 2010 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlehman/757479 to your computer and use it in GitHub Desktop.
Save mlehman/757479 to your computer and use it in GitHub Desktop.
(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