Crates.io | rusty-booru |
lib.rs | rusty-booru |
version | 0.2.1 |
source | src |
created_at | 2024-01-02 19:11:28.048476 |
updated_at | 2024-05-25 01:50:35.017517 |
description | An async Booru client for Rust |
homepage | |
repository | https://github.com/o-dasher/rusty-booru.git |
max_upload_size | |
id | 1086566 |
size | 49,389 |
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");