Crates.io | uploads-im-client |
lib.rs | uploads-im-client |
version | 0.2.0 |
source | src |
created_at | 2018-01-03 04:22:08.043887 |
updated_at | 2020-01-12 07:13:04.59546 |
description | Bindings to the Uploads.im web API |
homepage | https://github.com/erichdongubler/uploads-im-client-rs |
repository | https://github.com/erichdongubler/uploads-im-client-rs |
max_upload_size | |
id | 45305 |
size | 92,152 |
Bindings to the Uploads.im web API. Upload your images for free with Rust!
The Uploads.im API currently has only the upload
endpoint, which allows anyone
to upload an image file with no authentication. Here's an example of how to use
it:
extern crate uploads_im_client;
fn main() {
let uploaded_image = uploads_im_client::upload_with_default_options("my_image.jpg").expect("successful image upload");
println!("Uploaded image! You can now view it at {}", uploaded_image.view_url.to_string());
}
This project is dual-licensed under either the MIT or Apache 2.0 license. Take your pick!
Contributions, feature requests, and bug reports are warmly welcomed! See the contribution guidelines for getting started.
See also the Code of Conduct for more details about expectations regarding contributions to this project.
@ErichDonGubler, original author