esix 0.1.1

A simple wrapper of the e621 API
Documentation
  • Coverage
  • 5.13%
    4 out of 78 items documented1 out of 15 items with examples
  • Size
  • Source code size: 47.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 5s Average build duration of successful builds.
  • all releases: 1m 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Alekuso/esix
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Alekuso

Cargo

Esix

Esix is a simple wrapper for the e621 API in Rust.

Installation

[dependencies]
esix = "0.1.1"

Example

use esix::{error::Error, Esix};

fn main() -> Result<(), Error> {
    let mut client = Esix::new(
        "API_KEY",
        "USERNAME",
        "project_name".to_string(),
        "project_version".to_string(),
    );

    let posts = client.list("rating:safe", 1)?;

    for post in posts {
        println!("{:?}", post);
    }

    Ok(())
}

This crate is still in development and is not yet ready for production use.

It may include many bugs and missing features.

License

This project is licensed under the MIT license.

Contributing

Please feel free to contribute to this project by opening a pull request.

You are responsible for any possible form of abuse with the e621 API.