e621-rs
Install
Add latest the library to your Cargo.tml
Example
use Client;
use PostListOptions;
Add latest the library to your Cargo.tml
use e621_rs::e621_client::Client;
use e621_rs::requests::PostListOptions;
fn main() {
let client = Client::new(
String::from("https://e621.net"),
String::from("MyProject/1.0 (by username on e621)"),
String::from("username"),
String::from("apikey")
);
client::post_list(
PostListOptions {
limit: Some(32),
tags: Some(String::from("lucario")),
page: None
}
)
}