![ci-badge][] [![crates.io version]][crates.io link] # booru-rs An async Booru client for Rust ## Overview The client currently supports: - [x] Gelbooru - [x] Safebooru - [x] Danbooru - [ ] Konachan - [ ] R34 - [ ] 3DBooru - [ ] More... ? ## Example Remember to bring the `Client` trait into scope with `use booru_rs::client::Client;` ```rust 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"); ``` [ci-badge]: https://img.shields.io/github/actions/workflow/status/ajiiisai/booru-rs/ci.yml?branch=main [crates.io link]: https://crates.io/crates/booru-rs [crates.io version]: https://img.shields.io/crates/v/booru-rs.svg?style=flat-square