Struct imgur_rs::ImgurHandle
[−]
[src]
pub struct ImgurHandle { // some fields omitted }
Handle to the imgur api
Methods
impl ImgurHandle
[src]
fn new(client_id: String) -> Self
Create a new Imgur handle
client_id
- Client ID required by the Imgur API.
fn get_album(&self, album_id: String) -> Result<Vec<String>, ImgurError>
Retrieves imgur image urls from an album based on album id
album_id
- Imgur album id.