getPhotoInfo | R Documentation |
R access to photo information of photos posted on Flickr via Flickr API.
getPhotoInfo( api_key = NULL, photo_id, output = c("location", "date", "url", "tags") ) get_photo_info( api_key = NULL, photo_id, output = c("location", "date", "url", "tags") )
api_key |
Flickr API key. If api_key is 'NULL', the function uses [getFlickrAPIKey()] 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. |
This function returns data of specific photo's information.
https://www.flickr.com/services/api/flickr.photos.getInfo.html
## Not run: getPhotoInfo( api_key = "XXXXXXXXXX", photo_id = "30484882493", output = "location" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.