Liking cljdoc? Tell your friends :D

clj-github.core

Core of clj-github. This namespace is used by the API files. Only thing useful it provides to users is the with-auth convenience function.

Core of clj-github. This namespace is used by the API files. Only thing useful
it provides to users is the with-auth convenience function.
raw docstring

*auth*clj


create-urlclj

(create-url rest gist? & {special :special})

extract-authclj

(extract-auth auth)

handleclj

(handle data)
(handle data sifter)

Checks for an error, and if one has happened, returns the message. Otherwise, spits out results.

Checks for an error, and if one has happened, returns the message.
Otherwise, spits out results.
raw docstring

make-requestclj

(make-request path
              &
              {:keys [type data sift raw? gist? special]
               :or {type :get data {} raw? false gist? false}})

Constructs a basic authentication request. Path is either aseq of URL segments that will be joined together with slashes, or a full string depicting a path that will be used directly. The path should never start with a forward slash. It's added automatically.

Constructs a basic authentication request. Path is either aseq of URL segments that will
be joined together with slashes, or a full string depicting a path that will be used directly.
The path should never start with a forward slash. It's added automatically.
raw docstring

slash-joinclj

(slash-join & args)

Returns a string of its arguments separated by forward slashes.

Returns a string of its arguments separated by forward slashes.
raw docstring

t-to-nclj

(t-to-n n)

Returns 1 for true and 0 for false

Returns 1 for true and 0 for false
raw docstring

with-authcljmacro

(with-auth auth & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close