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
8fb5f2e3a9
|
2 years ago | |
---|---|---|
app | 2 years ago | |
.gitlab-ci.yml | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
example.go | 2 years ago | |
go.mod | 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