Flickrex.Flickr.Photos.Notes (flickrex v0.8.1) View Source

Link to this section 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.

Link to this section Types

Link to this section Functions

Link to this function

add(photo_id, note_x, note_y, note_w, note_h, note_text, opts \\ [])

View Source

Specs

add(arg(), arg(), arg(), arg(), arg(), arg(), opts()) :: operation()

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 - The id of the photo to add a note to

  • note_x - The left coordinate of the note

  • note_y - The top coordinate of the note

  • note_w - The width of the note

  • note_h - The height of the note

  • note_text - The description of the note

Example response

%{"note" => %{"id" => "1234"}, "stat" => "ok"}
Link to this function

delete(note_id, opts \\ [])

View Source

Specs

delete(arg(), opts()) :: operation()

Delete a note from a photo.

This method requires authentication with "write" permission.

Arguments

  • note_id - The id of the note to delete
Link to this function

edit(note_id, note_x, note_y, note_w, note_h, note_text, opts \\ [])

View Source

Specs

edit(arg(), arg(), arg(), arg(), arg(), arg(), opts()) :: operation()

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 - The id of the note to edit

  • note_x - The left coordinate of the note

  • note_y - The top coordinate of the note

  • note_w - The width of the note

  • note_h - The height of the note

  • note_text - The description of the note