4 releases

Uses old Rust 2015

0.1.1 Dec 4, 2018
0.1.0 Nov 21, 2018
0.0.2 Nov 16, 2018
0.0.1 Nov 15, 2018

#3 in #api-secret

26 downloads per month

Apache-2.0

140KB
3.5K SLoC

Flickr-Rust

Flickr-Rust is an unofficial Rust binding to Flickr API.

Example

use flickr::{FlickrAPI};

let mut flickr = FlickrAPI::new(
                  "MY-FLICKR-API-KEY", 
                  "MY-FLICKR-API-SECRET");

let res = flickr.favorites()
                .get_list()
                .perform()?;

println!("{:#?}", res.photos.unwrap());

You have to get your custom Flickr API key and Flickr API secret to use this crate.

Status

The plan is to cover all the essential non-deprecated methods of Flickr API. The current method sets coverage is shown below.

Implemented: activity, auth.oauth, favorites, photos

Unimplemented: blogs, cameras, collections, commons, contacts, galleries, groups, groups.discuss.replies, groups.discuss.topics, groups.members, groups.pools, interestingness, machinetags, panda, people, photos.comments, photos.geo, photos.licenses, photos.notes, photos.people, photos.suggestions, photos.transform, photos.upload, photosets, photosets.comments, places, prefs, profile, push, reflection, stats, tags, test, testimonials, urls

Deprecated: auth

In addition, upload and replace features will be implemented too.

See change log for information about version history.

License

Flickr-Rust is licensed under Apache License, Version 2.0.

Dependencies

~25–36MB
~585K SLoC