Liking cljdoc? Tell your friends :D

dangeru-clj.dangeru


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

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

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

× close