Home | Trees | Indices | Help |
|
---|
|
object --+ | BaseBackend
The abstract class representing the machinery of the request/response formats. Any implementor *must* override: * response_format * _get() * _get_backend_params() * _handle_error() * _parse_response() * auth_checkToken() * auth_getToken() * auth_getFrob() For the authentication step also "authenticate_step_one()" can be overridden. This backend uses REST as a Request format.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
|
flickr.auth.checkToken: Returns the credentials attached to an authentication token. This method call must be signed. To be overridden. See: <http://www.flickr.com/services/api/flickr.auth.checkToken.html> |
flickr.auth.getFrob: Returns a frob to be used during authentication. This method call must be signed. To be overridden. See: <http://www.flickr.com/services/api/flickr.auth.getFrob.html> |
flickr.auth.getToken: Returns the auth token for the given frob, if one has been attached. This method call must be signed. To be overridden. See: <http://www.flickr.com/services/api/flickr.auth.getToken.html> |
All the authentication machinery. * requested_perms can be 'read', 'write', 'delete' See: <http://www.flickr.com/services/api/auth.spec.html> Takes also care of storing the token on the file system. |
This implement the first step of authentication machinery. Note: override this to do your first step. By default uses the system browser to authenticate and desktop authentication. |
Calls the remote API method. * api_method_name is the Flickr name (eg. flickr.photos.getInfo) * auth is a boolean indicating whether or not the call requires authentication * params contains any additional parameter |
Uploading photos: It works outside the normal Flickr API framework because it involves sending binary files over the wire. You can specify either the filename or pass the binary image data. The image content type defaults to JPEG. See: <http://www.flickr.com/services/api/upload.api.html> |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sun Aug 5 16:21:17 2007 | http://epydoc.sourceforge.net |