Documentation home page

CFlickr.people
Component PeopleInterface

AbstractInterface
  |
  +--people.PeopleInterface

Method Summary
public User findByEmail(string find_email)
Return a user's NSID, given their email address
public User findByUsername(string username)
Return a user's NSID, given their username.
public User getInfo([string user_id])
Get information about a user.
public array getPublicGroups(string user_id)
Returns the list of public groups a user is a member of.
public PhotoList getPublicPhotos(string user_id, [string extras], [numeric per_page], [numeric page])
Get a list of public photos for the given user.
public User getUploadStatus()
Returns information for the calling used related to photo uploads.

Methods inherited from AbstractInterface
init
 

Method Detail

findByEmail

public CFlickr.people.User findByEmail(string find_email)
Return a user's NSID, given their email address

Parameters:
string find_email (Required) - The email address of the user to find (may be primary or secondary).

findByUsername

public CFlickr.people.User findByUsername(string username)
Return a user's NSID, given their username.

Parameters:
string username (Required) - The username of the user to lookup.

getInfo

public CFlickr.people.User getInfo([string user_id])
Get information about a user.

Parameters:
string user_id (Optional) - The NSID of the user to fetch information about.

getPublicGroups

public array getPublicGroups(string user_id)
Returns the list of public groups a user is a member of.

Parameters:
string user_id (Required) - The NSID of the user to fetch groups for.

getPublicPhotos

public CFlickr.photos.PhotoList getPublicPhotos(string user_id, [string extras], [numeric per_page], [numeric page])
Get a list of public photos for the given user.

Parameters:
string user_id (Required) - The NSID of the user who's photos to return.
string extras (Optional) - 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.
numeric per_page (Optional) - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
numeric page (Optional) - The page of results to return. If this argument is omitted, it defaults to 1.

getUploadStatus

public CFlickr.people.User getUploadStatus()
Returns information for the calling used related to photo uploads.