flickrex v0.3.0 Flickr.Collections

Summary

Functions

Returns information for a single collection. Currently can only be called by the collection owner, this may change

Returns a tree (or sub tree) of collections belonging to a given user

Types

args()
args() :: Keyword.t
client()
client() :: Flickrex.Client.t
response()
response() :: Flickrex.Parser.response

Functions

get_info(client, args \\ [])
get_info(client, args) :: response

Returns information for a single collection. Currently can only be called by the collection owner, this may change.

This method requires authentication with “read” permission.

Arguments

  • collection_id - (required) The ID of the collection to fetch information for.
get_tree(client, args \\ [])
get_tree(client, args) :: response

Returns a tree (or sub tree) of collections belonging to a given user.

This method does not require authentication.

Arguments

  • collection_id - The ID of the collection to fetch a tree for, or zero to fetch the root collection. Defaults to zero.

  • user_id - The ID of the account to fetch the collection tree for. Deafults to the calling user.