Contents:
This API call returns a list of the Photo Galleries available.
Example which retrieves the data.
https://api.cyclestreets.net/v2/galleries.list?fields=id,title,description,photos,datetime,galleryHref
Result:
{ "galleries": [ { "id": 16, "title": "Cambridge Beer Festival", "description": "Bikes parked everywhere at Cambridge Beer Festival (Summer 2007).", "photos": [ 10953, 10954, 10955, 10956 ], "datetime": 1180356907 }, { "id": 31, "title": "Cambridge city centre signage", "description": "Signs in Cambridge city centre", "photos": [ 11349, 11348, 11347, 11346, 11345, 11343, 11342, 11341, 11340, 11338, 11337, 11336, 11335, 11334, 11332, 11331, 11330 ], "datetime": 1187540355 }, ... ] }
None.
Controls what information is returned; the fields id, title, description, photos and datetime are included by default.
Available fields are:
If specified, the datetime field (if requested in the fields list) will be converted from unixtime (the default output format) to a formatted version; the available output formats are:
date ('g:ia, jS F Y', $date)
in PHPdate ('jS F, Y', $date)
in PHPJSON structure as per example above.
If no galleries are found, the call will return an empty array.
None.