flickrex v0.6.0 Flickrex.Flickr.Photos.Licenses View Source

Link to this section Summary

Functions

Fetches a list of available photo licenses for Flickr

Sets the license for a photo

Link to this section Types

Link to this section Functions

Link to this function get_info(args \\ []) View Source
get_info(args()) :: operation()

Fetches a list of available photo licenses for Flickr.

This method does not require authentication.

Arguments

Link to this function set_license(args \\ []) View Source
set_license(args()) :: operation()

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.