flickr-api

Crates.ioflickr-api
lib.rsflickr-api
version0.2.1
sourcesrc
created_at2024-06-16 12:50:12.814432
updated_at2024-11-30 18:00:27.171858
descriptionEasy interface to the Flickr API
homepagehttps://github.com/spoutn1k/flickr-api
repositoryhttps://github.com/spoutn1k/flickr-api
max_upload_size
id1273502
size86,054
Jean-Baptiste Skutnik (spoutn1k)

documentation

README

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 !

Commit count: 14

cargo fmt