flickr-0.3.1: Haskell binding to the Flickr API

Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sof@forkIO.com>

Flickr.Photos.Geo

Description

flickr.photos.geo API, setting/getting photo geo location.

Synopsis

Documentation

getLocation :: PhotoID -> FM GeoLocationSource

Get the geo data (latitude and longitude and the accuracy level) for a photo.

getPerms :: PhotoID -> FM PermissionsSource

Get permissions for who may view geo data for a photo.

removeLocation :: PhotoID -> FM ()Source

Removes the geo data associated with a photo.

setLocation :: PhotoID -> GeoLocation -> FM ()Source

Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo. Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at http:www.flickr.comaccountgeoprivacy. If a user has not set this preference, the API method will return an error.

setPerms :: PhotoID -> Permissions -> FM ()Source

Set the permission for who may view the geo data associated with a photo.