Packagecom.adobe.webapis.flickr.methodgroups
Classpublic class People

Contains the methods for the People method group in the Flickr API. Even though the events are listed here, they're really broadcast from the FlickrService instance itself to make using the service easier.



Public Methods
 MethodDefined by
  
Construct a new People "method group" class
People
  
findByEmail(find_email:String):void
Return a user's NSID, given their email address
People
  
findByUsername(username:String):void
Return a user's NSID, given their username.
People
  
getInfo(user_id:String):void
Get information about a user.
People
  
getPublicGroups(user_id:String):void
Returns the list of public groups a user is a member of.
People
  
getPublicPhotos(user_id:String, extras:String = "", per_page:Number = 100, page:Number = 1):void
Gets a list of public photos for the given user.
People
  
Returns information for the calling used related to photo uploads.
People
Events
 EventSummaryDefined by
   Broadcast as a result of the findByEmail method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance People
   Broadcast as a result of the findByUsername method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance People
   Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance People
   Broadcast as a result of the getPublicGroups method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an Array of Group instances When success is false, contains an "error" FlickrError instance People
   Broadcast as a result of the getPublicPhotos method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a PagedPhotoList instance When success is false, contains an "error" FlickrError instance People
   Broadcast as a result of the getUploadStatus method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance People
Constructor detail
People()constructor
public function People(service:FlickrService)

Construct a new People "method group" class

Parameters
service:FlickrService — The FlickrService this method group is associated with.
Method detail
findByEmail()method
public function findByEmail(find_email:String):void

Return a user's NSID, given their email address

Parameters
find_email:String — The email address of the user to find (may be primary or secondary).

See also

findByUsername()method 
public function findByUsername(username:String):void

Return a user's NSID, given their username.

Parameters
username:String — The username of the user to lookup.

See also

getInfo()method 
public function getInfo(user_id:String):void

Get information about a user.

Parameters
user_id:String — The NSID of the user to fetch information about.

See also

getPublicGroups()method 
public function getPublicGroups(user_id:String):void

Returns the list of public groups a user is a member of.

Parameters
user_id:String — The NSID of the user to fetch groups for.

See also

getPublicPhotos()method 
public function getPublicPhotos(user_id:String, extras:String = "", per_page:Number = 100, page:Number = 1):void

Gets a list of public photos for the given user.

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

See also

getUploadStatus()method 
public function getUploadStatus():void

Returns information for the calling used related to photo uploads. This method requires authentication with READ permission.

See also

Event detail
peopleFindByEmailevent 
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the findByEmail method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance

See also

findByEmail
com.adobe.service.flickr.FlickrError
peopleFindByUsernameevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the findByUsername method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance

See also

findByUsername
com.adobe.service.flickr.FlickrError
peopleGetInfoevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getInfo method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance

See also

getInfo
com.adobe.service.flickr.FlickrError
peopleGetPublicGroupsevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getPublicGroups method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an Array of Group instances When success is false, contains an "error" FlickrError instance

See also

getPublicGroups
com.adobe.service.flickr.FlickrError
peopleGetPublicPhotosevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getPublicPhotos method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a PagedPhotoList instance When success is false, contains an "error" FlickrError instance

See also

getPublicPhotos
com.adobe.service.flickr.FlickrError
peopleGetUploadStatusevent  
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the getUploadStatus method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, a User instance When success is false, contains an "error" FlickrError instance

See also

getUploadStatus
com.adobe.service.flickr.FlickrError