Here lies clj-github. He is survived by his son, tentacles:
Latest commit 6e6d671 Jan 26, 2012 @Raynes Merge pull request #4 from exupero/patch-1
Removed duplicate sentence in README.
Failed to load latest commit information.
src/clj_github Code cleanup and make auth a dynamic var so that we don't have to wor… Oct 12, 2011
test/clj_github Make this test less ugly. Oct 12, 2011
.gitignore Updated project dependencies and ignore file to be more comprehensive Dec 15, 2010
epl-v10.html Made a reasonable README and a license. Jun 10, 2010
project.clj Update version number and dependencies to 1.3. Oct 12, 2011


Much needed Github API bindings for Clojure.


(use '[clj-github.users :only [search]])
(def auth {:username "Raynes" :password "asifimgoingtotellyou"})
(search auth "Raynes")

It's worth it to note that authentication is not enforced by clj-github. If you pass an empty map or nil rather than real credentials, and the API call requires it, clj-github will not complain. Rather, the API will error out with "not authorizied" or something. No errors are ever thrown by clj-github. It simply returns the error message given by the API. The only way to know if something requires authentication is to look it up in the API docs. After everything is finished, I'll add notices detailing what requires authentication and what doesn't to docstrings.

API functions are sectioned into categories and placed in different files. Autodoc-generated documentation is here. Have fun exploring. :)


It's on clojars:


Licensed under the EPL. You can find a copy of this license at the root of this directory.