Expand description
This is a Rust binding to FlickrAPI.
§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());
The returned struct tree is mapped from JSON tree returned by Flickr REST API.
Modules§
- methods
- Structs in this module are constructed by FlickrAPI functions.
Structs§
- FlickrAPI
- Takes care of authentication and provides access to Flickr API methods. The struct can be serialized/deserialized to preserve the auth state between application runs. If the struct is cloned both the old and new instances can be used in parallel.
Enums§
- Flickr
Error - Struct for FlickrAPI related errors.