dot4ch
dot4ch is a convenient wrapper library around 4chan's API.
This library can fetch and update:
- Posts (fetch only)
- Threads
- Boards
- Catalogs
While respecting 4chan's:
- GET 1 second-per-request cooldown.
-
If-Modified-Since
headers with update requests. - 10 second cooldown with
Thread
,Catalog
andBoard
update requests.
Getting Started
There are plenlty of examples in the examples directory to get you started plus the I believe everything in the crate is documented.
You can run any example with
cargo run --example <example name>