booru-rs 0.2.3

An async Booru client for Rust
Documentation

booru-rs

An async Booru client for Rust

Overview

The client currently supports:

  • Gelbooru
  • Safebooru
  • Danbooru
  • Konachan
  • R34
  • 3DBooru
  • More... ?

Example

let posts = GelbooruClient::builder()
    .tag("kafuu_chino".to_string())
    .tag("2girls".to_string())
    .rating(GelbooruRating::General)
    .sort(GelbooruSort::Score)
    .limit(5)
    .random(true)
    .blacklist_tag(GelbooruRating::Explicit.to_string())
    .get()
    .await
    .expect("There was an error retrieving posts from the API");