Gelbooru API

Rudimentary Gelbooru API.

Usage

Fetch latest 20 Safe-rated posts with tags solo and hatsune_miku. ```rust use gelbooru_api::{Client, Rating, posts};

let client = Client::public(); let posts = posts() .limit(20) .rating(Rating::Safe) .tags(&["solo", "hatsune_miku"]) .send(&client) .await?;

for post in posts { println!( "Post {id} created at {createdat} by {owner} [{imageurl}]", id = post.id(), createdat = post.createdat(), owner = post.owner(), imageurl = post.imageurl(), ); } ```

API coverage