![]() |
![]() |
Flickcurl Flickr API Manual | ![]() |
|
---|---|---|---|---|
char* flickcurl_people_findByEmail (flickcurl *fc, const char *email); char* flickcurl_people_findByUsername (flickcurl *fc, const char *username); flickcurl_person* flickcurl_people_getInfo (flickcurl *fc, const char *user_id); flickcurl_group** flickcurl_people_getPublicGroups (flickcurl *fc, const char *user_id); flickcurl_photo** flickcurl_people_getPublicPhotos (flickcurl *fc, const char *user_id, const char *extras, int per_page, int page); flickcurl_user_upload_status* flickcurl_people_getUploadStatus (flickcurl *fc);
char* flickcurl_people_findByEmail (flickcurl *fc, const char *email);
Get a user's NSID, given their email address
Implements flickr.people.findByEmail (0.8)
|
flickcurl context |
|
user email address |
Returns : |
NSID or NULL on failure |
char* flickcurl_people_findByUsername (flickcurl *fc, const char *username);
Get a user's NSID, given their username address
Implements flickr.people.findByUsername (0.8)
|
flickcurl context |
|
username |
Returns : |
NSID or NULL on failure |
flickcurl_person* flickcurl_people_getInfo (flickcurl *fc, const char *user_id);
Get information about a person
Implements flickr.people.getInfo (0.6)
NSID can be found by flickcurl_people_findByEmail()
or
flickcurl_people_findByUsername()
.
|
flickcurl context |
|
user NSID |
Returns : |
flickcurl_person object or NULL on failure |
flickcurl_group** flickcurl_people_getPublicGroups (flickcurl *fc, const char *user_id);
Returns the list of public groups a user is a member of.
Implements flickr.people.getPublicGroups (0.13)
|
flickcurl context |
|
The NSID of the user to fetch groups for. |
Returns : |
non-0 on failure |
flickcurl_photo** flickcurl_people_getPublicPhotos (flickcurl *fc, const char *user_id, const char *extras, int per_page, int page);
Get a list of public photos for the given user.
Currently supported extras fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
Implements flickr.people.getPublicPhotos (0.12)
|
flickcurl context |
|
The NSID of the user who's photos to return. |
|
A comma-delimited list of extra information to fetch for each returned record. |
|
Number of photos to return per page (default 100, max 500) |
|
The page of results to return (default 1) |
Returns : |
non-0 on failure |
flickcurl_user_upload_status* flickcurl_people_getUploadStatus (flickcurl *fc);
Returns information for the calling user related to photo uploads.
Implements flickr.people.getUploadStatus (0.13)
|
flickcurl context |
Returns : |
non-0 on failure |