3 unstable releases

new 0.2.0 Jun 23, 2024
0.1.1 Jun 16, 2024
0.1.0 Jun 16, 2024

#639 in #command-line

Download history 168/week @ 2024-06-10 219/week @ 2024-06-17

387 downloads per month

GPL-3.0-or-later

27KB
667 lines

This crate exists because I needed to access the flickr API and nothing was up to date.

The API is described here.

This crate uses warp to receive HTTP callbacks and you can log in from the command line using it.

Usage

Log in using your local browser and upload a photo from a path:

// Create a client and ask it to log you in
let client = FlickrAPI::new(ApiKey {
    key: String::from("Your API key"),
    secret: String::from("Your API secret"),
})
.login()
.await?;

// Upload a local file
client.photos().upload_from_path(&path).await

Coverage

The flickr API is extensive and this crate is very barebones. However adding support for a specific endpoint can be done in minutes ! Please create an issue if you need anything added !

Dependencies

~24–39MB
~425K SLoC