(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")
(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]
(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
(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
(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
(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]
(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
(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
(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
(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
(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
(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]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close