Flickr-Rust
Flickr-Rust Rust is an unofficial RUST HTTP binding to Flickr API.
Example
extern crate flickr;
use flickr::{FlickrAPI};
fn main() {
let mut flickr = FlickrAPI::new("MY-FLICKR-API-KEY", "MY-FLICKR-API-SECRET");
match flickr.init() {
Ok(()) => {
let photos = flickr.favorites().get_list().perform().unwrap();
println!("{:#?}", photos);
},
Err(e) => {
eprintln!("Flickr initialization failed: {}", e);
}
}
}
You have to get your custom Flickr API key and Flicke API secret.
License
Flickr-Rust is licensed under Apache License, Version 2.0.