atom.client
index
/usr/local/svn/gdata-python-client/src/atom/client.py

AtomPubClient provides CRUD ops. in line with the Atom Publishing Protocol.

 
Modules
       
atom

 
Classes
       
__builtin__.object
AtomPubClient

 
class AtomPubClient(__builtin__.object)
     Methods defined here:
Delete = delete(self, uri=None, auth_token=None, http_request=None, **kwargs)
Get = get(self, uri=None, auth_token=None, http_request=None, **kwargs)
Post = post(self, uri=None, data=None, auth_token=None, http_request=None, **kwargs)
Put = put(self, uri=None, data=None, auth_token=None, http_request=None, **kwargs)
Request = request(self, method=None, uri=None, auth_token=None, http_request=None, **kwargs)
__init__(self, http_client=None, host=None, auth_token=None, **kwargs)
delete(self, uri=None, auth_token=None, http_request=None, **kwargs)
get(self, uri=None, auth_token=None, http_request=None, **kwargs)
post(self, uri=None, data=None, auth_token=None, http_request=None, **kwargs)
put(self, uri=None, data=None, auth_token=None, http_request=None, **kwargs)
request(self, method=None, uri=None, auth_token=None, http_request=None, **kwargs)
Performs an HTTP request to the server indicated.
 
Uses the http_client instance to make the request.
 
Args:
  method: The HTTP method as a string, usually one of 'GET', 'POST',
          'PUT', or 'DELETE'
  uri: The URI desired as a string or atom.http_core.Uri. 
  http_request: 
  auth_token: An authorization token object whose modify_request method
              sets the HTTP Authorization header.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
auth_token = None
host = None

 
Data
        __author__ = 'j.s@google.com (Jeff Scudder)'

 
Author
        j.s@google.com (Jeff Scudder)