flickrex v0.3.0 Flickr.Photos.Licenses

Summary

Functions

Fetches a list of available photo licenses for Flickr

Sets the license for a photo

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

Fetches a list of available photo licenses for Flickr.

This method does not require authentication.

Arguments

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

Sets the license for a photo.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The photo to update the license for.

  • license_id - (required) The license to apply, or 0 (zero) to remove the current license. Note : as of this writing the “no known copyright restrictions” license (7) is not a valid argument.