booru 0.7.0

An async Booru client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use booru::{Client, rule34::Rule34Client};

#[tokio::main]
async fn main() {
    let posts = Rule34Client::builder()
        .tag("kafuu_chino")
        .limit(5)
        .build()
        .get()
        .await
        .expect("There was an error retrieving posts from the API");

    println!("{:?}", posts);
}