Liking cljdoc? Tell your friends :D

eamonnsullivan.github-api-lib.core


github-urlclj

source

http-getclj

(http-get access-token url opts)

Make a GET request to a url, with options

Make a GET request to a url, with options
sourceraw docstring

http-postclj

(http-post url payload opts)

Make a POST request to a url with payload and request options.

Make a POST request to a url with payload and request options.
sourceraw docstring

make-graphql-postclj

(make-graphql-post access-token graphql variables)

Make a GraphQL request to Github using the provided query/mutation and variables. If there are any errors, throw a RuntimeException, with the message set to the first error and the rest of the response as the cause/additional information.

Make a GraphQL request to Github using the provided query/mutation
and variables. If there are any errors, throw a RuntimeException,
with the message set to the first error and the rest of the response
as the cause/additional information.
sourceraw docstring

parse-comment-urlclj

(parse-comment-url comment-url)

Get the comment number and pull request url from an issue comment URL.

Get the comment number and pull request url from an issue comment URL.
sourceraw docstring

parse-repoclj

(parse-repo url)

Parse a repository url (a full url or just the owner/name part) and return a map with :owner and :name keys.

Parse a repository url (a full url or just the owner/name part) and
return a map with :owner and :name keys.
sourceraw docstring

pull-request-numberclj

(pull-request-number pull-request-url)

Get the pull request number from a full or partial URL.

Get the pull request number from a full or partial URL.
sourceraw docstring

request-optsclj

(request-opts access-token)

Add the authorization header to the http request options.

Add the authorization header to the http request options.
sourceraw docstring

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

× close