Liking cljdoc? Tell your friends :D

discljord.http


api-urlclj

(api-url gateway)

Takes an endpoint from Discord's API (with a starting '/'), and returns a URL for that Discord endpoint.

For example: (api-url (str "/channels/" channel-id))

Takes an endpoint from Discord's API (with a starting '/'), and returns
a URL for that Discord endpoint.

For example: (api-url (str "/channels/" channel-id))
sourceraw docstring

append-api-suffixclj

(append-api-suffix url)

Takes a url and appends GET parameters for version of the Discord API, and the default encoding.

Takes a url and appends GET parameters for version of the Discord
API, and the default encoding.
sourceraw docstring

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

× close