Crates.io | booru-rs |
lib.rs | booru-rs |
version | 0.2.8 |
source | src |
created_at | 2022-11-22 16:08:30.991301 |
updated_at | 2024-04-13 16:49:23.246715 |
description | An async Booru client for Rust |
homepage | |
repository | https://github.com/ajiiisai/booru-rs |
max_upload_size | |
id | 720933 |
size | 36,695 |
An async Booru client for Rust
The client currently supports:
Remember to bring the Client
trait into scope with use booru_rs::client::Client;
let posts = GelbooruClient::builder()
.tag("kafuu_chino")
.tag("2girls")
.rating(GelbooruRating::General)
.sort(GelbooruSort::Score)
.limit(5)
.random(true)
.blacklist_tag(GelbooruRating::Explicit)
.build()
.get()
.await
.expect("There was an error retrieving posts from the API");