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

Link to this section Summary

Functions

Approve a suggestion for a photo

Return a list of suggestions for a user that are pending approval

Reject a suggestion for a photo

Remove a suggestion, made by the calling user, from a photo

Suggest a geotagged location for a photo

Link to this section Types

Link to this section Functions

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

Approve a suggestion for a photo.

This method requires authentication with “write” permission.

Arguments

  • suggestion_id - (required) The unique ID for the location suggestion to approve.
Link to this function get_list(args \\ []) View Source
get_list(args()) :: operation()

Return a list of suggestions for a user that are pending approval.

This method requires authentication with “read” permission.

Arguments

  • photo_id - Only show suggestions for a single photo.

  • status_id - Only show suggestions with a given status.

    • 0, pending
    • 1, approved
    • 2, rejected
    The default is pending (or “0”).

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

Reject a suggestion for a photo.

This method requires authentication with “write” permission.

Arguments

  • suggestion_id - (required) The unique ID of the suggestion to reject.
Link to this function remove_suggestion(args \\ []) View Source
remove_suggestion(args()) :: operation()

Remove a suggestion, made by the calling user, from a photo.

This method requires authentication with “write” permission.

Arguments

  • suggestion_id - (required) The unique ID for the location suggestion to approve.
Link to this function suggest_location(args \\ []) View Source
suggest_location(args()) :: operation()

Suggest a geotagged location for a photo.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The photo whose location you are suggesting.

  • lat - (required) The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

  • lon - (required) The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

  • accuracy - Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.

  • woe_id - The WOE ID of the location used to build the location hierarchy for the photo.

  • place_id - The Flickr Places ID of the location used to build the location hierarchy for the photo.

  • note - A short note or history to include with the suggestion.