Liking cljdoc? Tell your friends :D

happyapi.providers.github


api-requestclj

(api-request args)
(api-request args respond raise)

A function to handle API requests. Can be configured with setup!. Will attempt to configure itself if not previously configured. May also be replaced by a custom stack of middleware constructed in a different way. This is what generated code invokes, which means that customizations here will be present in the generated interface.

A function to handle API requests.
Can be configured with `setup!`.
Will attempt to configure itself if not previously configured.
May also be replaced by a custom stack of middleware constructed in a different way.
This is what generated code invokes, which means that customizations here
will be present in the generated interface.
sourceraw docstring

set-request!clj

(set-request! client)
source

setup!clj

(setup! config)

Changes api-request to be a configured client. config is provider specific, it should contain :client_id and :client_secret for oauth2, or :apikey. See config/make-client for more options.

Changes `api-request` to be a configured client.
config is provider specific,
it should contain `:client_id` and `:client_secret` for oauth2,
or `:apikey`.
See config/make-client for more options.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close