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

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

rotate(photo_id, degrees, opts \\ [])

View Source

Specs

rotate(arg(), arg(), opts()) :: operation()

Rotate a photo.

This method requires authentication with "write" permission.

Arguments

  • photo_id - The id of the photo to rotate.

  • degrees - The amount of degrees by which to rotate the photo (clockwise) from it's current orientation. Valid values are 90, 180 and 270.

Example response

%{
  "photoid" => %{
    "_content" => "1234",
    "originalsecret" => "abcdef",
    "secret" => "abcdef"
  },
  "stat" => "ok"
}