flickrex v0.3.0 Flickr.Photos.Notes

Summary

Functions

Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages

Delete a note from a photo

Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages

Types

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

Functions

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

Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to add a note to

  • note_x - (required) The left coordinate of the note

  • note_y - (required) The top coordinate of the note

  • note_w - (required) The width of the note

  • note_h - (required) The height of the note

  • note_text - (required) The description of the note

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

Delete a note from a photo.

This method requires authentication with “write” permission.

Arguments

  • note_id - (required) The id of the note to delete
edit(client, args \\ [])
edit(client, args) :: response

Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.

This method requires authentication with “write” permission.

Arguments

  • note_id - (required) The id of the note to edit

  • note_x - (required) The left coordinate of the note

  • note_y - (required) The top coordinate of the note

  • note_w - (required) The width of the note

  • note_h - (required) The height of the note

  • note_text - (required) The description of the note