Imgur API client.
```console $ imgurian --help imgurian 0.1.0 Imgur API client.
USAGE:
imgurian
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: delete-image Delete an image. favorite-image Favorite an image. generate-access-token Generates an access token from given refresh token. get-account Get information about an account. get-image Get information about an image. help Prints this message or the help of the given subcommand(s) list-account-images List account images. update-image Update information about an image. upload-image Upload a new image. ```
```rust use imgurian::client::Client; use std::fs;
async fn main() { let bytes = fs::read("/path/to/image").unwrap(); let client = Client::builder().clientid("YOURCLIENTID").build().unwrap(); let image = client.uploadimage(bytes).send().await.unwrap(); dbg!(image); } ```