dot4ch

Crates.iodot4ch
lib.rsdot4ch
version3.0.0
sourcesrc
created_at2021-05-24 06:21:50.490542
updated_at2022-08-26 18:25:13.351617
descriptionWrapper library around 4chan API
homepage
repositoryhttps://github.com/bltzxsd/dot4ch
max_upload_size
id401318
size108,531
rawcptr (bltzxsd)

documentation

README

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>
Commit count: 0

cargo fmt