e621-rs 0.1.2

A library which can be used to access the e621/e926 API
Documentation

e621-rs

Install

Add latest the library to your Cargo.tml

Example

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
        }
    )
}