flickcurl.h | flickcurl.h | |||
---|---|---|---|---|
skipping to change at line 1182 | skipping to change at line 1182 | |||
* @media: "photos" or "videos" (or NULL) | * @media: "photos" or "videos" (or NULL) | |||
* @has_geo: non-0 if a photo has been geotagged (or 0) | * @has_geo: non-0 if a photo has been geotagged (or 0) | |||
* @lat: A valid latitude, in decimal format, for doing radial geo queries (or ignored if radius is 0.0) | * @lat: A valid latitude, in decimal format, for doing radial geo queries (or ignored if radius is 0.0) | |||
* @lon: A valid longitude, in decimal format, for doing radial geo queries (or ignored if radius is 0.0) | * @lon: A valid longitude, in decimal format, for doing radial geo queries (or ignored if radius is 0.0) | |||
* @radius: A valid radius used for geo queries, greater than zero and less than 20 miles (or 32 kilometers), for use with point-based geo queries. Th e default value is 5 (km) (or 0.0 for not used) | * @radius: A valid radius used for geo queries, greater than zero and less than 20 miles (or 32 kilometers), for use with point-based geo queries. Th e default value is 5 (km) (or 0.0 for not used) | |||
* @radius_units: The unit of measure when doing radial geo queries. Valid options are "mi" (miles) and "km" (kilometers). The default is "km" (or NUL L) | * @radius_units: The unit of measure when doing radial geo queries. Valid options are "mi" (miles) and "km" (kilometers). The default is "km" (or NUL L) | |||
* @contacts: (Experimental) Requires @user_id field be set and limits quer ies to photos beloing to that user's photos. Valid arguments are 'all' or 'ff' for just friends and family. | * @contacts: (Experimental) Requires @user_id field be set and limits quer ies to photos beloing to that user's photos. Valid arguments are 'all' or 'ff' for just friends and family. | |||
* @woe_id: A 32-bit identifier that uniquely represents spatial entities. (not used if bbox argument is present). Same restrictions as @place_id (or 0) | * @woe_id: A 32-bit identifier that uniquely represents spatial entities. (not used if bbox argument is present). Same restrictions as @place_id (or 0) | |||
* @geo_context: A numeric value representing the photo's geotagginess beyo nd latitude and longitude. The current list of context IDs is 0: not define d, 1: indoors and 2: outdoors. Geo queries require some sort of limiting a gent in order to prevent the database from crying (or 0) | * @geo_context: A numeric value representing the photo's geotagginess beyo nd latitude and longitude. The current list of context IDs is 0: not define d, 1: indoors and 2: outdoors. Geo queries require some sort of limiting a gent in order to prevent the database from crying (or 0) | |||
* @is_commons: Limit the scope of the search to only photos that are part of the Flickr Commons project. Default is false (or 0) | * @is_commons: Limit the scope of the search to only photos that are part of the Flickr Commons project. Default is false (or 0) | |||
* @in_gallery: Limit the scope of the search to only photos that are in a gallery. Default is false, search all photos. | ||||
* | * | |||
* Search parameters for flickcurl_photos_search() | * Search parameters for flickcurl_photos_search() | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
char* user_id; | char* user_id; | |||
char* tags; | char* tags; | |||
char* tag_mode; | char* tag_mode; | |||
char* text; | char* text; | |||
int min_upload_date; | int min_upload_date; | |||
int max_upload_date; | int max_upload_date; | |||
skipping to change at line 1218 | skipping to change at line 1219 | |||
char* media; | char* media; | |||
int has_geo; | int has_geo; | |||
double lat; | double lat; | |||
double lon; | double lon; | |||
double radius; | double radius; | |||
char* radius_units; | char* radius_units; | |||
char* contacts; | char* contacts; | |||
int woe_id; | int woe_id; | |||
int geo_context; | int geo_context; | |||
int is_commons; | int is_commons; | |||
int in_gallery; | ||||
} flickcurl_search_params; | } flickcurl_search_params; | |||
/** | /** | |||
* flickcurl_size: | * flickcurl_size: | |||
* @label: label | * @label: label | |||
* @width: width in pixels | * @width: width in pixels | |||
* @height: height in pixels | * @height: height in pixels | |||
* @source: raw image source URL | * @source: raw image source URL | |||
* @url: url of photo page | * @url: url of photo page | |||
* @media: 'photo' or 'video' | * @media: 'photo' or 'video' | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||