Package | com.adobe.webapis.flickr.methodgroups |
Class | public class People |
Method | Defined by | ||
---|---|---|---|
People(service:FlickrService)
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 | ||
getUploadStatus():void
Returns information for the calling used related to photo uploads.
| People |
Event | Summary | Defined 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 |
People | () | constructor |
public function People(service:FlickrService)
Construct a new People "method group" class
Parametersservice:FlickrService — The FlickrService this method group
is associated with.
|
findByEmail | () | method |
public function findByEmail(find_email:String):void
Return a user's NSID, given their email address
Parametersfind_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.
Parametersusername:String — The username of the user to lookup.
|
See also
getInfo | () | method |
public function getInfo(user_id:String):void
Get information about a user.
Parametersuser_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.
Parametersuser_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.
Parametersuser_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
peopleFindByEmail | event |
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
peopleFindByUsername | event |
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
peopleGetInfo | event |
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
peopleGetPublicGroups | event |
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
peopleGetPublicPhotos | event |
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
peopleGetUploadStatus | event |
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