![]() |
![]() |
![]() |
Flickcurl Flickr API Manual | ![]() |
---|
Search results can be made to return additional fields in the
photo results by using the extras configuration
of the search API.
(This applies to both results returning the
flickcurl_photo struct as
well as syntax formats described in the next section.)
This is done by configuring the field extras
in the
flickcurl_photos_list_params
structure containing a , (comma) separated list of the extra names
like name1,name2
.
The known search 'extras' names and what they fields they return are as follows (at the time this documentation was built):
<xi:include></xi:include>Use
flickcurl_get_extras_format_info()
to get the known extra
names and descriptions at runtime.
The following code fragment sets the extras field to the single
extra name original_format
which adds to the the search results
flickcurl_photo objects
fields for the original item secret and original item format
(like "jpg"
).
flickcurl_photos_list_params list_params; flickcurl_photos_list_params_init(&list_params); list_params.extras = "original_format";