Crates.io | derpiboorust |
lib.rs | derpiboorust |
version | 0.1.1 |
source | src |
created_at | 2019-02-02 13:18:22.667737 |
updated_at | 2019-02-07 17:00:04.338133 |
description | ust bindings for Derpibooru API |
homepage | https://github.com/ralvke/derpiboorust |
repository | https://github.com/ralvke/derpiboorust |
max_upload_size | |
id | 112184 |
size | 26,259 |
This crate provides Rust bindings for Derpibooru API.
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>