Flickcurl Flickr API Manual | ||||
---|---|---|---|---|
Top | Description |
flickcurl_institution; enum flickcurl_institution_url_type; void flickcurl_free_institution (flickcurl_institution *institution
); void flickcurl_free_institutions (flickcurl_institution **institutions_object
); const char * flickcurl_get_institution_url_type_label (flickcurl_institution_url_type url_type
); flickcurl_institution ** flickcurl_commons_getInstitutions (flickcurl *fc
);
typedef struct { char *nsid; int date_launch; char *name; char **urls; } flickcurl_institution;
Flickr Commons institution
typedef enum { FLICKCURL_INSTITUTION_URL_NONE = 0, FLICKCURL_INSTITUTION_URL_SITE, FLICKCURL_INSTITUTION_URL_LICENSE, FLICKCURL_INSTITUTION_URL_FLICKR, FLICKCURL_INSTITUTION_URL_LAST = FLICKCURL_INSTITUTION_URL_FLICKR } flickcurl_institution_url_type;
Institution URL type
void flickcurl_free_institution (flickcurl_institution *institution
);
Destructor for institution object
|
institution object |
void flickcurl_free_institutions (flickcurl_institution **institutions_object
);
Destructor for array of institution object
|
institution object array |
const char * flickcurl_get_institution_url_type_label
(flickcurl_institution_url_type url_type
);
Get label for institution url type
|
institution url enum |
Returns : |
label string or NULL if none valid |
flickcurl_institution ** flickcurl_commons_getInstitutions
(flickcurl *fc
);
Retrieves a list of the current Commons institutions.
Implements flickr.commons.getInstitutions (1.8)
|
flickcurl context |
Returns : |
non-0 on failure |