Liking cljdoc? Tell your friends :D

clj-github.httpkit-client


get-installation-tokenclj

(get-installation-token {:keys [token-fn]})
source

github-urlclj

source

new-clientclj

(new-client {:keys [app-id private-key token org] :as opts})
source

requestclj

(request client req-map)

Sends a synchronous request to GitHub, largely as a wrapper around HTTP Kit.

In addition to normal HTTP Kit keys in the request map, two additional keys are added.

:path - used to create the :url key for HTTP kit; this is the path relative to https://api.github.com.

:throw? - if true (the default), then non-success status codes (codes outside the range of 200 to 204) result in a thrown exception. If set to false, then the response is returned, regardless and the caller can decide what to do with failure statuses.

Sends a synchronous request to GitHub, largely as a wrapper around HTTP Kit.

In addition to normal HTTP Kit keys in the request map, two additional keys are added.

:path - used to create the :url key for HTTP kit; this is the path relative to https://api.github.com.

:throw? - if true (the default), then non-success status codes (codes outside the range of 200 to 204)
  result in a thrown exception. If set to false, then the response is returned, regardless and the
  caller can decide what to do with failure statuses.
sourceraw docstring

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

× close