1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//! # Gyazo API
//!
//! This crate provides a client for interacting with the Gyazo API.
//! It includes modules for uploading, fetching, and deleting images.
//!
//! ## Example
//!
//! ```rust
//! 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;
//! ```
/// Handles image deletion via the Gyazo API.
/// Handles fetching images and metadata via the Gyazo API.
/// Handles uploading images via the Gyazo API.
// pub mod onEmbed;
use Client;
/// A client for interacting with the Gyazo API.