Crate gyazo_api

Source
Expand description

§Gyazo API

This crate provides a client for interacting with the Gyazo API. It includes modules for uploading, fetching, and deleting images.

§Example

use gyazo_api::{upload::GyazoUploadOptions, Gyazo};

let gyazo = Gyazo::new("your_access_token".to_string());
let options = GyazoUploadOptions {
    title: Some("My Image Title".to_string()),
    ..Default::default()
};
let result = gyazo.upload("image.jpg", Some(&options)).await;

Modules§

delete
Handles image deletion via the Gyazo API.
get
Handles fetching images and metadata via the Gyazo API.
upload
Handles uploading images via the Gyazo API.

Structs§

Gyazo
A client for interacting with the Gyazo API.