Portability | portable |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
flickr.photos.geo API, setting/getting photo geo location.
- getLocation :: PhotoID -> FM GeoLocation
- getPerms :: PhotoID -> FM Permissions
- removeLocation :: PhotoID -> FM ()
- setLocation :: PhotoID -> GeoLocation -> FM ()
- setPerms :: PhotoID -> Permissions -> FM ()
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.