Get available information for a Flickr photo.
getPhotoInfo.Rd
R access to photo information of photos posted on Flickr via Flickr API.
Arguments
- api_key
Flickr API key. If api_key is
NULL
, the function usesgetFlickrAPIKey()
to use the environment variable "FLICKR_API_KEY" as the key.- photo_id
The id of the photo to get information for.
- output
Output data type. Supported options include "all", "location", "date", "url" or "tags". If
output = "all"
, the function returns a list with all available data. Otherwise the function returns a data frame.
See also
Flickr API Documentation: flickr.photos.getInfo
Examples
if (FALSE) {
getPhotoInfo(
api_key = get_flickr_api_key(),
photo_id = "30484882493",
output = "location"
)
}