| Flickcurl Flickr API Manual | ||||
|---|---|---|---|---|
flickcurl_size;
void flickcurl_free_size (flickcurl_size *size);
void flickcurl_free_sizes (flickcurl_size **sizes_object);
void flickcurl_free_location (flickcurl_location *location);
void flickcurl_free_perms (flickcurl_perms *perms);
const char* flickcurl_get_field_value_type_label
(flickcurl_field_value_type datatype);
const char* flickcurl_get_location_accuracy_label
(int accuracy);
const char* flickcurl_get_shared_secret (flickcurl *fc);
flickcurl_photo** flickcurl_interestingness_getList (flickcurl *fc,
const char *date,
const char *extras,
int per_page,
int page);
flickcurl_license;
typedef struct {
char *label;
int width;
int height;
char *source;
char *url;
} flickcurl_size;
A photo at a size.
char * |
label |
int |
width in pixels |
int |
height in pixels |
char * |
raw image source URL |
char * |
url of photo page |
void flickcurl_free_size (flickcurl_size *size);
Destructor for size object
|
size object |
void flickcurl_free_sizes (flickcurl_size **sizes_object);
Destructor for array of size objects
|
size object array |
void flickcurl_free_location (flickcurl_location *location);
Destructor for location object
|
location object |
void flickcurl_free_perms (flickcurl_perms *perms);
Destructor for perms object
|
perms object |
const char* flickcurl_get_field_value_type_label
(flickcurl_field_value_type datatype);
Get label for datatype
|
datatype enum |
Returns : |
label string or NULL if none valid |
const char* flickcurl_get_location_accuracy_label
(int accuracy);
Get label for an accuracy
|
accuracy |
Returns : |
label string or NULL if none valid |
const char* flickcurl_get_shared_secret (flickcurl *fc);
Get current Shared Secret
|
flickcurl object |
Returns : |
shared secret or NULL if none set |
flickcurl_photo** flickcurl_interestingness_getList (flickcurl *fc, const char *date, const char *extras, int per_page, int page);
Returns the list of interesting photos for the most recent day or a user-specified date.
Implements flickr.interestingness.getList (0.13)
|
flickcurl context |
|
A specific date, formatted as YYYY-MM-DD, to return interesting photos for. (or NULL) |
|
A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags. (or NULL)
|
|
Number of photos to return per page default 100, max 500 |
|
The page of results to return, default 1 |
Returns : |
non-0 on failure |