Liking cljdoc? Tell your friends :D

dangeru-clj.dangeru


awoo-endpointclj


change-endpointclj

(change-endpoint new-endpoint)

Set this API wrapper to use an awoo-based textboard other than dangeru.us (if one ever exists) Note: make sure to include a trailing / ("https://dangeru.us/" instead of "https://dangeru.us")

Set this API wrapper to use an awoo-based textboard other than dangeru.us (if one ever exists) Note: make sure to include a trailing / ("https://dangeru.us/" instead of "https://dangeru.us")
raw docstring

fetch-indexclj

(fetch-index board page)

Get a (JSON) string of all the threads on page number [page] of [board]

Get a (JSON) string of all the threads on page number [page] of [board]
raw docstring

fetch-threadclj

(fetch-thread id which)

Get a (JSON) string of either the metadata or replies to a thread

Get a (JSON) string of either the metadata or replies to a thread
raw docstring

(full-search search-text)
(full-search board search-text)

Search for threads in [board] ("all" searches all boards) with [search-text] in the title or contents

Search for threads in [board] ("all" searches all boards) with [search-text] in the title or contents
raw docstring

get-xsrf-captchaclj

(get-xsrf-captcha board)
(get-xsrf-captcha board thread-id)

Get an XSRF string and a captcha (as a byte array representing a png image) to let you start a new thread on a given board (if no thread-id is provided) or reply to the given thread on the given board

Get an XSRF string and a captcha (as a byte array representing a png image) to let you start a new thread on a given board (if no thread-id is provided) or reply to the given thread on the given board
raw docstring

indexclj

(index board)
(index board page)

Get all the threads on page number [page] of [board]

Get all the threads on page number [page] of [board]
raw docstring

new-threadclj

(new-thread board title comment)
(new-thread board title comment xsrf captcha-solution)

Start a new thread on the given board with the given title and comment

Start a new thread on the given board with the given title and comment
raw docstring

replyclj

(reply board parent content)
(reply board parent content xsrf captcha-solution)

Reply to thread number [parent] on [board] with the given content

Reply to thread number [parent] on [board] with the given content
raw docstring

scrape-xsrf-captchaclj

(scrape-xsrf-captcha url)

Try to find an xsrf string and captcha image on the given page

Try to find an xsrf string and captcha image on the given page
raw docstring

thread-metadataclj

(thread-metadata id)

Ask for the metadata of thread [id] and convert the resulting string to a clojure map

Ask for the metadata of thread [id] and convert the resulting string to a clojure map
raw docstring

thread-repliesclj

(thread-replies id)

Ask for the posts in thread [id] and convert the resulting string to a clojure array

Ask for the posts in thread [id] and convert the resulting string to a clojure array
raw docstring

(title-search search-text)
(title-search board search-text)

Search for threads in [board] ("all" searches all boards) with titles containing [search-text]

Search for threads in [board] ("all" searches all boards) with titles containing [search-text]
raw docstring

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

× close