(mk-client)(mk-client discogs-pat-token)(mk-client api-key api-secret)Build a Discogs API client.
Usage:
;; Create Anonymous client, some API Methods will not work (def client (mk-client))
;; If you have DISCOGS_TOKEN env set
(def client (mk-client)) ;; {:method :env-variable ...}
;; Create token with Key + Secret (def client (mk-client "fooKm..9QeN" "wBaR..e8t0"))
;; Create client with PAT (def client (mk-client "cWyNjw....MfhcYOZ"))
Build a Discogs API client.
Usage:
;; Create Anonymous client, some API Methods will not work
(def client (mk-client))
;; If you have `DISCOGS_TOKEN` env set
(def client (mk-client)) ;; {:method :env-variable ...}
;; Create token with Key + Secret
(def client (mk-client "fooKm..9QeN" "wBaR..e8t0"))
;; Create client with PAT
(def client (mk-client "cWyNjw....MfhcYOZ"))(mk-request client method resource parameters)(mk-request {:keys [token] :as client} method resource parameters extractor)Make a request to the service - intended to be used for library internal only.
Support native scrolling. disclaimer: the library don't let you manage the scrolling, every request will be fully realized.
This can obviously leads to api limit responses.
Make a request to the service - intended to be used for library internal only. Support native scrolling. disclaimer: the library don't let you manage the scrolling, every request will be fully realized. This can obviously leads to api limit responses.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |