Flickrex.Flickr.Photos.Transform (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Rotate a photo.
Link to this section Types
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
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"
}