Crate derpiboorust

Source
Expand description

This crate provides Rust bindings for Derpibooru API.

§Example usage:

use derpiboorust::{SyncAdapter, Search};

let adapter = SyncAdapter::new();
let request = Search::new("69 position,safe")
    .min_score(70)
    .max_score(120);

let response = adapter.send(request).unwrap();
println!("{:?}", response.search); // Vec<Image>

Re-exports§

Modules§