This Choreo returns a list of photos matching a search criteria. There are a number of optional search parameters for this Choreo. At least one limiting search parameter must be provided. Here is a list of optional inputs that are considered limiting parameters:
- GeoContext
- GroupID
- InGallery
- Latitude
- Longitude
- MaxUploadDate
- MaxTakenDate
- Media
- MinUploadDate
- Tags
- Text
- PlaceID
- UserID
- WOEID
The documentation for this Flickr method can be found here.
Here's an example list of acceptable inputs:
APIKey: {YOUR FLICKR API KEY}
Latitude: 40.718503
Longitude: -74.005652
PerPage: 10
Note that the optional input named Extras has several possible values that can be provided in order to include additional photo elements in the response. The currently supported fields are:
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
The following is a sample of the JSON information returned by this Choreo:
{
"photos": {
"page": 1,
"pages": 21,
"perpage": 5,
"total": "102",
"photo": [
{
"id": "8453614692",
"owner": "93756844@N00",
"secret": "e0a54909e6",
"server": "8531",
"farm": 9,
"title": "Start.",
"ispublic": 1,
"isfriend": 0,
"isfamily": 0,
"url_m": "http:\/\/farm9.staticflickr.com\/8531\/8453614692_e0a54909e6.jpg",
"height_m": "500",
"width_m": "500"
},
{
"id": "8452503095",
"owner": "56951448@N04",
"secret": "9f10e31a8e",
"server": "8245",
"farm": 9,
"title": "SM#52",
"ispublic": 1,
"isfriend": 0,
"isfamily": 0,
"url_m": "http:\/\/farm9.staticflickr.com\/8245\/8452503095_9f10e31a8e.jpg",
"height_m": "500",
"width_m": "375"
}
]
},
"stat": "ok"
}