2 releases

0.1.1 Feb 7, 2019
0.1.0 Feb 2, 2019

#715 in #search

MIT license

25KB
655 lines

derpiboorust - Rust bindings for Derpibooru API

This crate provides Rust bindings for Derpibooru API.

Travis CI Status crates.io Documentation

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)?;
println!("{:?}", response.search); // Vec<Image>

lib.rs:

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>

Dependencies

~21MB
~436K SLoC