Wrapper library around 4chan API


Keywords
wrapper, api, 4chan, library, 4chan-api, rust, rust-library, wrapper-library
License
GPL-3.0

Documentation

dot4ch

Rust

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 and Board update requests.

Getting Started

THE DOCS

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>