Packagecom.adobe.webapis.flickr
Classpublic class FlickrService
InheritanceFlickrService Inheritance com.adobe.webapis.URLLoaderBase

The FlickrService class abstracts the Flickr API found at http://www.flickr.com/services/api/



Public Properties
 PropertyDefined by
  api_key : String
Returns the current API key in use for accessing the Flickr service.
FlickrService
  auth : Auth
[read-only] Provide read-only access to the Auth method group in the Flickr API
FlickrService
  blogs : Blogs
[read-only] Provide read-only access to the Blogs method group in the Flickr API
FlickrService
  contacts : Contacts
[read-only] Provide read-only access to the Contacts method group in the Flickr API
FlickrService
  favorites : Favorites
[read-only] Provide read-only access to the Favorites method group in the Flickr API
FlickrService
  groups : Groups
[read-only] Provide read-only access to the Groups method group in the Flickr API
FlickrService
  interestingness : Interestingness
[read-only] Provide read-only access to the Interestingness method group in the Flickr API
FlickrService
  people : People
[read-only] Provide read-only access to the People method group in the Flickr API
FlickrService
  permission : String
Returns the permission the application has for the currently logged in user's account.
FlickrService
  photos : Photos
[read-only] Provide read-only access to the Photos method group in the Flickr API
FlickrService
  photosets : PhotoSets
[read-only] Provide read-only access to the PhotoSets method group in the Flickr API
FlickrService
  pools : Pools
[read-only] Provide read-only access to the Pools method group in the Flickr API
FlickrService
  secret : String
Returns the "shared secret" of the Application associated with the API key for use in Authentication.
FlickrService
  tags : Tags
[read-only] Provide read-only access to the Tags method group in the Flickr API
FlickrService
  test : Test
[read-only] Provide read-only access to the Test method group in the Flickr API
FlickrService
  token : String
Returns the token identifying the user as logged in
FlickrService
  urls : Urls
[read-only] Provide read-only access to the Urls method group in the Flickr API
FlickrService
Public Methods
 MethodDefined by
  
FlickrService(api_key:String)
FlickrService
  
getLoginURL(frob:String, permission:String):String
Returns the URL to use for authentication so the developer doesn't have to build it by hand.
FlickrService
Public Constants
 ConstantDefined by
  AUTH_END_POINT : String = "http://api.flickr.com/services/auth/?"
[static] The endpoint where we go for authentication
FlickrService
  END_POINT : String = "http://api.flickr.com/services/rest/?"
[static] The REST endpoint where we can talk with Flickr service
FlickrService
Property detail
api_keyproperty
api_key:String  [read-write]

Returns the current API key in use for accessing the Flickr service.

Implementation
    public function get api_key():String
    public function set api_key(value:String):void
authproperty 
auth:Auth  [read-only]

Provide read-only access to the Auth method group in the Flickr API

Implementation
    public function get auth():Auth
blogsproperty 
blogs:Blogs  [read-only]

Provide read-only access to the Blogs method group in the Flickr API

Implementation
    public function get blogs():Blogs
contactsproperty 
contacts:Contacts  [read-only]

Provide read-only access to the Contacts method group in the Flickr API

Implementation
    public function get contacts():Contacts
favoritesproperty 
favorites:Favorites  [read-only]

Provide read-only access to the Favorites method group in the Flickr API

Implementation
    public function get favorites():Favorites
groupsproperty 
groups:Groups  [read-only]

Provide read-only access to the Groups method group in the Flickr API

Implementation
    public function get groups():Groups
interestingnessproperty 
interestingness:Interestingness  [read-only]

Provide read-only access to the Interestingness method group in the Flickr API

Implementation
    public function get interestingness():Interestingness
peopleproperty 
people:People  [read-only]

Provide read-only access to the People method group in the Flickr API

Implementation
    public function get people():People
permissionproperty 
permission:String  [read-write]

Returns the permission the application has for the currently logged in user's account.

Implementation
    public function get permission():String
    public function set permission(value:String):void
photosproperty 
photos:Photos  [read-only]

Provide read-only access to the Photos method group in the Flickr API

Implementation
    public function get photos():Photos
photosetsproperty 
photosets:PhotoSets  [read-only]

Provide read-only access to the PhotoSets method group in the Flickr API

Implementation
    public function get photosets():PhotoSets
poolsproperty 
pools:Pools  [read-only]

Provide read-only access to the Pools method group in the Flickr API

Implementation
    public function get pools():Pools
secretproperty 
secret:String  [read-write]

Returns the "shared secret" of the Application associated with the API key for use in Authentication.

Implementation
    public function get secret():String
    public function set secret(value:String):void

See also

tagsproperty 
tags:Tags  [read-only]

Provide read-only access to the Tags method group in the Flickr API

Implementation
    public function get tags():Tags
testproperty 
test:Test  [read-only]

Provide read-only access to the Test method group in the Flickr API

Implementation
    public function get test():Test
tokenproperty 
token:String  [read-write]

Returns the token identifying the user as logged in

Implementation
    public function get token():String
    public function set token(value:String):void
urlLoaderproperty 
urlLoader:URLLoader  [read-only]

Use our "internal" namespace to provide access to the URLLoader from this class to the helper classes in the methodgroups package. This keeps this method away from the public API since it is not meant to be used by the public.

Implementation
    flickrservice_internal function get urlLoader():URLLoader
urlsproperty 
urls:Urls  [read-only]

Provide read-only access to the Urls method group in the Flickr API

Implementation
    public function get urls():Urls
Constructor detail
FlickrService()constructor
public function FlickrService(api_key:String)Parameters
api_key:String
Method detail
getLoginURL()method
public function getLoginURL(frob:String, permission:String):String

Returns the URL to use for authentication so the developer doesn't have to build it by hand.

Parameters
frob:String — The frob from flickr.auth.getFrob to authenticate with
 
permission:String — The permission the user will have after successful login

Returns
String — The url to open a browser to to authenticate against
Constant detail
AUTH_END_POINTconstant
public static const AUTH_END_POINT:String = "http://api.flickr.com/services/auth/?"

The endpoint where we go for authentication

END_POINTconstant 
public static const END_POINT:String = "http://api.flickr.com/services/rest/?"

The REST endpoint where we can talk with Flickr service