**WORK IN PROGRESS** golang API client for interacting with the jschan imageboard API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Thomas Lynch fe38d8cf7a Add most stuff under the "public endpoints" api section 2 years ago
app Add most stuff under the "public endpoints" api section 2 years ago
LICENSE Initial commit 2 years ago
README.md add GetIndex, GetLogsList, GetLogs and associated models 2 years ago
example.go add GetIndex, GetLogsList, GetLogs and associated models 2 years ago
go.mod Initial commit 2 years ago

README.md

jschan-api-go

API client for jschan imageboard software written in go.

jschan repo: fatchan/jschan

API docs repo: fatchan/jschan-docs (gitgud pages)

License

GNU LGPLv3, see LICENSE.

Example

getThreadOptions := &jschan.GetThreadOptions{
	Board:    "t",
	ThreadId: 1392,
}
res3, err3 := jschanClient.GetThread(ctx, getThreadOptions)
if err3 != nil {
	fmt.Println(err3)
	return
}
fmt.Printf("Fetched /%s/ thread %d with %d replies\n", getThreadOptions.Board, getThreadOptions.ThreadId, len(res3.Replies))

For generous people

Bitcoin (BTC): bc1q4elrlz5puak4m9xy3hfvmpempnpqpu95v8s9m6

Monero (XMR): 89J9DXPLUBr5HjNDNZTEo4WYMFTouSsGjUjBnUCCUxJGUirthnii4naZ8JafdnmhPe4NP1nkWsgcK82Uga7X515nNR1isuh

Oxen (OXEN): LBjExqjDKCFT6Tj198CfK8auAzBERJX1ogtcsjuKZ6AYWTFxwEADLgf2zZ8NHvWCa1UW7vrtY8DJmPYFpj3MEE69CryCvN6