From a84516743cd7751c0ded783bb9d10fb5e84f56a8 Mon Sep 17 00:00:00 2001 From: Joe Gregorio Date: Thu, 15 Sep 2011 09:53:21 -0400 Subject: [PATCH] 1.0beta3 release --- docs/apiclient.anyjson.html | 2 +- docs/apiclient.contrib.buzz.html | 2 +- docs/apiclient.contrib.html | 2 +- docs/apiclient.contrib.latitude.html | 2 +- docs/apiclient.contrib.moderator.html | 2 +- docs/apiclient.discovery.html | 2 +- docs/apiclient.errors.html | 126 +++++++++++- docs/apiclient.ext.appengine.html | 2 +- docs/apiclient.ext.authtools.html | 2 +- docs/apiclient.ext.file.html | 2 +- docs/apiclient.ext.html | 2 +- docs/apiclient.html | 2 +- docs/apiclient.http.html | 21 +- docs/apiclient.mimeparse.html | 2 +- docs/apiclient.model.html | 9 +- docs/apiclient.oauth.html | 2 +- docs/dyn/audit.v1.activities.html | 16 +- docs/dyn/blogger.v2.blogs.html | 31 +++ docs/dyn/blogger.v2.comments.html | 53 +++++ docs/dyn/blogger.v2.html | 36 ++++ docs/dyn/blogger.v2.pages.html | 38 ++++ docs/dyn/blogger.v2.posts.html | 51 +++++ docs/dyn/blogger.v2.users.blogs.html | 31 +++ docs/dyn/blogger.v2.users.html | 33 +++ docs/dyn/shopping.v1.products.html | 2 + docs/httplib2.html | 2 +- docs/httplib2.socks.html | 2 +- docs/oauth2client.appengine.html | 92 +++++++-- docs/oauth2client.client.html | 274 +++++++++++++++++++------ docs/oauth2client.django_orm.html | 25 +++ docs/oauth2client.file.html | 32 ++- docs/oauth2client.html | 9 +- docs/oauth2client.multistore_file.html | 229 +++++++++++++++++++++ docs/oauth2client.tools.html | 9 +- docs/uritemplate.html | 2 +- setup.py | 2 +- setup_oauth2client.py | 2 +- 37 files changed, 1014 insertions(+), 139 deletions(-) create mode 100644 docs/dyn/blogger.v2.blogs.html create mode 100644 docs/dyn/blogger.v2.comments.html create mode 100644 docs/dyn/blogger.v2.html create mode 100644 docs/dyn/blogger.v2.pages.html create mode 100644 docs/dyn/blogger.v2.posts.html create mode 100644 docs/dyn/blogger.v2.users.blogs.html create mode 100644 docs/dyn/blogger.v2.users.html create mode 100644 docs/oauth2client.multistore_file.html diff --git a/docs/apiclient.anyjson.html b/docs/apiclient.anyjson.html index 8cd9037..df64fcd 100644 --- a/docs/apiclient.anyjson.html +++ b/docs/apiclient.anyjson.html @@ -8,7 +8,7 @@  
 
apiclient.anyjson
index
/home/jcgregorio/projects/google-api-python-client/apiclient/anyjson.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/anyjson.py

Utility module to import a JSON module
 
Hides all the messy details of exactly where
diff --git a/docs/apiclient.contrib.buzz.html b/docs/apiclient.contrib.buzz.html index c0180e9..d188914 100644 --- a/docs/apiclient.contrib.buzz.html +++ b/docs/apiclient.contrib.buzz.html @@ -8,7 +8,7 @@  
 
apiclient.contrib.buzz
index
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/buzz/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/buzz/__init__.py

diff --git a/docs/apiclient.contrib.html b/docs/apiclient.contrib.html index c190bda..1b772a9 100644 --- a/docs/apiclient.contrib.html +++ b/docs/apiclient.contrib.html @@ -8,7 +8,7 @@
 
 
apiclient.contrib
index
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/__init__.py

diff --git a/docs/apiclient.contrib.latitude.html b/docs/apiclient.contrib.latitude.html index 1aa202d..8b6d296 100644 --- a/docs/apiclient.contrib.latitude.html +++ b/docs/apiclient.contrib.latitude.html @@ -8,7 +8,7 @@
 
 
apiclient.contrib.latitude
index
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/latitude/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/latitude/__init__.py

diff --git a/docs/apiclient.contrib.moderator.html b/docs/apiclient.contrib.moderator.html index 9f8377b..91aea14 100644 --- a/docs/apiclient.contrib.moderator.html +++ b/docs/apiclient.contrib.moderator.html @@ -8,7 +8,7 @@
 
 
apiclient.contrib.moderator
index
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/moderator/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/moderator/__init__.py

diff --git a/docs/apiclient.discovery.html b/docs/apiclient.discovery.html index 7df9888..7de89cf 100644 --- a/docs/apiclient.discovery.html +++ b/docs/apiclient.discovery.html @@ -8,7 +8,7 @@
 
 
apiclient.discovery
index
/home/jcgregorio/projects/google-api-python-client/apiclient/discovery.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/discovery.py

Client for discovery based APIs
 
A client library for Google's discovery based APIs.

diff --git a/docs/apiclient.errors.html b/docs/apiclient.errors.html index cf7200f..13bb898 100644 --- a/docs/apiclient.errors.html +++ b/docs/apiclient.errors.html @@ -8,7 +8,7 @@  
 
apiclient.errors
index
/home/jcgregorio/projects/google-api-python-client/apiclient/errors.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/errors.py

Errors for the library.
 
All exceptions defined by the library
@@ -39,6 +39,8 @@ should be defined in this file.

InvalidJsonError
MediaUploadSizeError
UnacceptableMimeTypeError +
UnexpectedBodyError +
UnexpectedMethodError
UnknownLinkType
@@ -341,6 +343,128 @@ Use of negative indices is not supported.
__unicode__(...)
+
+Data descriptors inherited from exceptions.BaseException:
+
__dict__
+
+
args
+
+
message
+
+

+ + + + + + + +
 
+class UnexpectedBodyError(Error)
   Exception raised by RequestMockBuilder on unexpected bodies.
 
 
Method resolution order:
+
UnexpectedBodyError
+
Error
+
exceptions.Exception
+
exceptions.BaseException
+
__builtin__.object
+
+
+Methods defined here:
+
__init__(self, expected, provided)
Constructor for an UnexpectedMethodError.
+ +
+Data descriptors inherited from Error:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from exceptions.Exception:
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from exceptions.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

+Use of negative indices is not supported.
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
__unicode__(...)
+ +
+Data descriptors inherited from exceptions.BaseException:
+
__dict__
+
+
args
+
+
message
+
+

+ + + + + + + +
 
+class UnexpectedMethodError(Error)
   Exception raised by RequestMockBuilder on unexpected calls.
 
 
Method resolution order:
+
UnexpectedMethodError
+
Error
+
exceptions.Exception
+
exceptions.BaseException
+
__builtin__.object
+
+
+Methods defined here:
+
__init__(self, methodId=None)
Constructor for an UnexpectedMethodError.
+ +
+Data descriptors inherited from Error:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes inherited from exceptions.Exception:
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from exceptions.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

+Use of negative indices is not supported.
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
__unicode__(...)
+
Data descriptors inherited from exceptions.BaseException:
__dict__
diff --git a/docs/apiclient.ext.appengine.html b/docs/apiclient.ext.appengine.html index f750e27..b5aafca 100644 --- a/docs/apiclient.ext.appengine.html +++ b/docs/apiclient.ext.appengine.html @@ -8,7 +8,7 @@
 
 
apiclient.ext.appengine
index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/appengine.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/appengine.py

Utilities for Google App Engine
 
Utilities for making it easier to use the
diff --git a/docs/apiclient.ext.authtools.html b/docs/apiclient.ext.authtools.html index 1ebaab0..b1cfd41 100644 --- a/docs/apiclient.ext.authtools.html +++ b/docs/apiclient.ext.authtools.html @@ -8,7 +8,7 @@  
 
apiclient.ext.authtools
index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/authtools.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/authtools.py

Command-line tools for authenticating via OAuth 1.0
 
Do the OAuth 1.0 Three Legged Dance for
diff --git a/docs/apiclient.ext.file.html b/docs/apiclient.ext.file.html index 8a8c479..49df8e2 100644 --- a/docs/apiclient.ext.file.html +++ b/docs/apiclient.ext.file.html @@ -8,7 +8,7 @@  
 
apiclient.ext.file
index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/file.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/file.py

Utilities for OAuth.
 
Utilities for making it easier to work with OAuth 1.0 credentials.

diff --git a/docs/apiclient.ext.html b/docs/apiclient.ext.html index 639d3db..f121463 100644 --- a/docs/apiclient.ext.html +++ b/docs/apiclient.ext.html @@ -8,7 +8,7 @@  
 
apiclient.ext
index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/__init__.py

diff --git a/docs/apiclient.html b/docs/apiclient.html index 00c7d9c..11a41b8 100644 --- a/docs/apiclient.html +++ b/docs/apiclient.html @@ -8,7 +8,7 @@
 
 
apiclient
index
/home/jcgregorio/projects/google-api-python-client/apiclient/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/__init__.py

diff --git a/docs/apiclient.http.html b/docs/apiclient.http.html index f2d9b11..0cbc0a6 100644 --- a/docs/apiclient.http.html +++ b/docs/apiclient.http.html @@ -8,7 +8,7 @@
 
 
apiclient.http
index
/home/jcgregorio/projects/google-api-python-client/apiclient/http.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/http.py

Classes to encapsulate a single HTTP request.
 
The classes implement a command pattern, with every
@@ -95,9 +95,11 @@ Data descriptors defined here:
A simple mock of HttpRequest
 
Pass in a dictionary to the constructor that maps request methodIds to
-tuples of (httplib2.Response, content) that should be returned when that
-method is called. None may also be passed in for the httplib2.Response, in
-which case a 200 OK response will be generated.
+tuples of (httplib2.Response, content, opt_expected_body) that should be
+returned when that method is called. None may also be passed in for the
+httplib2.Response, in which case a 200 OK response will be generated.
+If an opt_expected_body (str or dict) is provided, it will be compared to
+the body and UnexpectedBodyError will be raised on inequality.
 
Example:
  response = '{"data": {"id": "tag:google.c...'
@@ -109,8 +111,9 @@ Example:
  apiclient.discovery.build("buzz", "v1", requestBuilder=requestBuilder)
 
Methods that you do not supply a response for will return a
-200 OK with an empty string as the response content. The methodId
-is taken from the rpcName in the discovery document.
+200 OK with an empty string as the response content or raise an excpetion if
+check_unexpected is set to True. The methodId is taken from the rpcName
+in the discovery document.
 
For more details see the project wiki.
 
  @@ -120,7 +123,7 @@ of requestBuilder, which is to build an HttpRequest.execute(). See that method for the description of the
parameters and the expected response.
-

__init__(self, responses)
Constructor for RequestMockBuilder
+
__init__(self, responses, check_unexpected=False)
Constructor for RequestMockBuilder
 
The constructed object should be a callable object
that can replace the class HttpResponse.
@@ -128,7 +131,9 @@ that can replace the class HttpResponse.
responses - A dictionary that maps methodIds into tuples
            of (httplib2.Response, content). The methodId
            comes from the 'rpcName' field in the discovery
-            document.
+            document.
+check_unexpected - A boolean setting whether or not UnexpectedMethodError
+                   should be raised on unsupplied method.

Data descriptors defined here:
diff --git a/docs/apiclient.mimeparse.html b/docs/apiclient.mimeparse.html index ac2dbfe..0ce36c1 100644 --- a/docs/apiclient.mimeparse.html +++ b/docs/apiclient.mimeparse.html @@ -8,7 +8,7 @@  
 
apiclient.mimeparse (version 0.1.3)
index
/home/jcgregorio/projects/google-api-python-client/apiclient/mimeparse.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/mimeparse.py

MIME-Type Parser
 
This module provides basic functions for handling mime-types. It can handle
diff --git a/docs/apiclient.model.html b/docs/apiclient.model.html index 7dbc430..802ad5d 100644 --- a/docs/apiclient.model.html +++ b/docs/apiclient.model.html @@ -8,7 +8,7 @@  
 
apiclient.model
index
/home/jcgregorio/projects/google-api-python-client/apiclient/model.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/model.py

Model objects for requests and responses.
 
Each API may support one or more serializations, such
@@ -78,7 +78,8 @@ Attributes:


Methods defined here:
-
deserialize(self, content)
Perform the actual deserialization from response string to Python object.
+
deserialize(self, content)
Perform the actual deserialization from response string to Python
+object.
 
Args:
  content: string, the body of the HTTP response
@@ -295,8 +296,8 @@ The serialzed protocol buffer returned in an  de-serialized using the given protocol buffer class.
 
Args:
-  protocol_buffer: The protocol buffer class used to de-serialize a response
-      from the API.
+  protocol_buffer: The protocol buffer class used to de-serialize a
+  response from the API.
deserialize(self, content)
diff --git a/docs/apiclient.oauth.html b/docs/apiclient.oauth.html index 5120e80..b019d53 100644 --- a/docs/apiclient.oauth.html +++ b/docs/apiclient.oauth.html @@ -8,7 +8,7 @@  
 
apiclient.oauth
index
/home/jcgregorio/projects/google-api-python-client/apiclient/oauth.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/oauth.py

Utilities for OAuth.
 
Utilities for making it easier to work with OAuth.

diff --git a/docs/dyn/audit.v1.activities.html b/docs/dyn/audit.v1.activities.html index 7d1ccaf..bce94b4 100644 --- a/docs/dyn/audit.v1.activities.html +++ b/docs/dyn/audit.v1.activities.html @@ -17,20 +17,20 @@
list = method(self, **kwargs)
Retrieves a list of activities for a specific customer and application.
 
Args:
-  actorEmail: string, Email address of the user who performed the action.
-  parameters: string, Event parameters in the form [parameter1 name]:[parameter1 value],[parameter2 name]:[parameter2 value],...
  caller: string, Type of the caller.
    Allowed values
      application_owner - Caller is an application owner.
      customer - Caller is a customer.
-  maxResults: integer, Number of activity records to be shown in each page.
  actorApplicationId: string, Application ID of the application which interacted on behalf of the user while performing the event.
-  eventName: string, Name of the event being queried.
-  applicationId: string, Application ID of the application on which the event was performed. (required)
-  startTime: string, Return events which occured at or after this time.
-  endTime: string, Return events which occured at or before this time.
-  ipAddress: string, IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
+  actorIpAddress: string, IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
+  actorEmail: string, Email address of the user who performed the action.
+  maxResults: integer, Number of activity records to be shown in each page.
  continuationToken: string, Next page URL.
+  eventName: string, Name of the event being queried.
+  endTime: string, Return events which occured at or before this time.
+  startTime: string, Return events which occured at or after this time.
+  parameters: string, Event parameters in the form [parameter1 name]:[parameter1 value],[parameter2 name]:[parameter2 value],...
+  applicationId: string, Application ID of the application on which the event was performed. (required)
  customerId: string, Represents the customer who is the owner of target object on which action was performed. (required)

diff --git a/docs/dyn/blogger.v2.blogs.html b/docs/dyn/blogger.v2.blogs.html new file mode 100644 index 0000000..8f5084d --- /dev/null +++ b/docs/dyn/blogger.v2.blogs.html @@ -0,0 +1,31 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
get = method(self, **kwargs)
Gets one blog by id.

+Args:
+  blogId: string, The ID of the blog to get. (required)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.comments.html b/docs/dyn/blogger.v2.comments.html new file mode 100644 index 0000000..526406b --- /dev/null +++ b/docs/dyn/blogger.v2.comments.html @@ -0,0 +1,53 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
get = method(self, **kwargs)
Gets one comment by id.

+Args:
+  commentId: string, The ID of the comment to get. (required)
+  postId: string, ID of the post to fetch posts from. (required)
+  blogId: string, ID of the blog to containing the comment. (required)
+ +
list = method(self, **kwargs)
Retrieves the comments for a blog, possibly filtered.

+Args:
+  startDate: string, Earliest date of comment to fetch.
+  fetchBodies: boolean, Whether the body content of the comments is included.
+  pageToken: string, Continuation token if request is paged.
+  maxResults: integer, Maximum number of comments to include in the result.
+  postId: string, ID of the post to fetch posts from. (required)
+  blogId: string, ID of the blog to fetch comments from. (required)
+ +
list_next = methodNext(self, previous_request, previous_response)
Retrieves the next page of results.

+Args:
+  previous_request: The request for the previous page.
+  previous_response: The response from the request for the previous page.

+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.html b/docs/dyn/blogger.v2.html new file mode 100644 index 0000000..cb93864 --- /dev/null +++ b/docs/dyn/blogger.v2.html @@ -0,0 +1,36 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
blogs = methodResource(self)
A collection resource.
+ +
comments = methodResource(self)
A collection resource.
+ +
pages = methodResource(self)
A collection resource.
+ +
posts = methodResource(self)
A collection resource.
+ +
users = methodResource(self)
A collection resource.
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.pages.html b/docs/dyn/blogger.v2.pages.html new file mode 100644 index 0000000..24b5e8a --- /dev/null +++ b/docs/dyn/blogger.v2.pages.html @@ -0,0 +1,38 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
get = method(self, **kwargs)
Gets one blog page by id.

+Args:
+  pageId: string, The ID of the page to get. (required)
+  blogId: string, ID of the blog containing the page. (required)
+ +
list = method(self, **kwargs)
Retrieves pages for a blog, possibly filtered.

+Args:
+  fetchBodies: boolean, Whether to retrieve the Page bodies.
+  blogId: string, ID of the blog to fetch pages from. (required)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.posts.html b/docs/dyn/blogger.v2.posts.html new file mode 100644 index 0000000..8b72531 --- /dev/null +++ b/docs/dyn/blogger.v2.posts.html @@ -0,0 +1,51 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
get = method(self, **kwargs)
Get a post by id.

+Args:
+  postId: string, The ID of the post (required)
+  blogId: string, ID of the blog to fetch the post from. (required)
+ +
list = method(self, **kwargs)
Retrieves a list of posts, possibly filtered.

+Args:
+  startDate: string, Earliest post date to fetch.
+  pageToken: string, Continuation token if the request is paged.
+  maxResults: integer, Maximum number of posts to fetch.
+  fetchBodies: boolean, Whether the body content of posts is included.
+  blogId: string, ID of the blog to fetch posts from. (required)
+ +
list_next = methodNext(self, previous_request, previous_response)
Retrieves the next page of results.

+Args:
+  previous_request: The request for the previous page.
+  previous_response: The response from the request for the previous page.

+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.users.blogs.html b/docs/dyn/blogger.v2.users.blogs.html new file mode 100644 index 0000000..eaabe4e --- /dev/null +++ b/docs/dyn/blogger.v2.users.blogs.html @@ -0,0 +1,31 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
list = method(self, **kwargs)
Retrieves a list of blogs, possibly filtered.

+Args:
+  userId: string, ID of the user whose blogs are to be fetched. (required)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/blogger.v2.users.html b/docs/dyn/blogger.v2.users.html new file mode 100644 index 0000000..7cb34cc --- /dev/null +++ b/docs/dyn/blogger.v2.users.html @@ -0,0 +1,33 @@ + + +Python: class Resource + +

+ + + + + + + +
 
+class Resource(__builtin__.object)
   A class for interacting with a resource.
 
 Methods defined here:
+
__init__(self)
+ +
blogs = methodResource(self)
A collection resource.
+ +
get = method(self, **kwargs)
Gets one user by id.

+Args:
+  userId: string, The ID of the user to get. (required)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+ \ No newline at end of file diff --git a/docs/dyn/shopping.v1.products.html b/docs/dyn/shopping.v1.products.html index 2a12c9b..4a540ed 100644 --- a/docs/dyn/shopping.v1.products.html +++ b/docs/dyn/shopping.v1.products.html @@ -25,6 +25,7 @@ Args:
  source: string, Query source (required)
  recommendations_include: string, Recommendation specification
  debug_enabled: boolean, Google Internal
+  location: string, Location used to determine tax and shipping
  debug_searchRequest: boolean, Google Internal
  productId: string, Id of product (required)
  productIdType: string, Type of productId (required)
@@ -59,6 +60,7 @@ Args:
  source: string, Query source (required)
  useCase: string, One of CommerceSearchUseCase, ShoppingApiUseCase
  debug_geocodeResponse: boolean, Google Internal
+  location: string, Location used to determine tax and shipping
  categories_include: string, Category specification
  debug_searchRequest: boolean, Google Internal
  relatedQueries_enabled: boolean, Whether to return related queries
diff --git a/docs/httplib2.html b/docs/httplib2.html index 271d87f..e02bd39 100644 --- a/docs/httplib2.html +++ b/docs/httplib2.html @@ -8,7 +8,7 @@  
 
httplib2 (version 0.7.0)
index
/home/jcgregorio/projects/google-api-python-client/httplib2/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/__init__.py

diff --git a/docs/httplib2.socks.html b/docs/httplib2.socks.html index e124e0f..4f65a85 100644 --- a/docs/httplib2.socks.html +++ b/docs/httplib2.socks.html @@ -8,7 +8,7 @@
 
 
httplib2.socks
index
/home/jcgregorio/projects/google-api-python-client/httplib2/socks.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/socks.py

SocksiPy - Python SOCKS module.
Version 1.00
 
diff --git a/docs/oauth2client.appengine.html b/docs/oauth2client.appengine.html index e3cba8b..1607892 100644 --- a/docs/oauth2client.appengine.html +++ b/docs/oauth2client.appengine.html @@ -8,7 +8,7 @@  
 
oauth2client.appengine
index
/home/jcgregorio/projects/google-api-python-client/oauth2client/appengine.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/appengine.py

Utilities for Google App Engine
 
Utilities for making it easier to use OAuth 2.0 on Google App Engine.

@@ -23,13 +23,12 @@ Utilities for making it easier to use OAuth&n base64
google.appengine.ext.db
httplib2
-logging
google.appengine.api.memcache
-pickle
-simplejson
+pickle
+simplejson
time
-google.appengine.api.users
-google.appengine.ext.webapp
+google.appengine.api.users
+google.appengine.ext.webapp

@@ -121,6 +120,10 @@ Args:
  token_uri: string, URI for token endpoint. For convenience
    defaults to Google's endpoints but any OAuth 2.0 provider can be used. +
+Class methods defined here:
+
from_json(cls, json) from __builtin__.type
+
Methods inherited from oauth2client.client.OAuth2Credentials:
__getstate__(self)
Trim the state down to something that can be pickled.
@@ -141,27 +144,42 @@ Example:
  h = httplib2.Http()
  h = credentials.authorize(h)
 
-You can't create a new OAuth
-subclass of httplib2.Authenication because
-it never gets passed the absolute URI, which is
-needed for signing. So instead we have to overload
-'request' with a closure that adds in the
-Authorization header and then calls the original version
-of 'request()'. +You can't create a new OAuth subclass of httplib2.Authenication
+because it never gets passed the absolute URI, which is needed for
+signing. So instead we have to overload 'request' with a closure
+that adds in the Authorization header and then calls the original
+version of 'request()'. -
set_store(self, store)
Set the storage for the credential.
+
set_store(self, store)
Set the Storage for the credential.
 
Args:
-  store: callable, a callable that when passed a Credential
-    will store the credential back to where it came from.
+  store: Storage, an implementation of Stroage object.
    This is needed to store the latest access_token if it
-    has expired and been refreshed.
+    has expired and been refreshed.  This implementation uses
+    locking to check for updates before updating the
+    access_token.
+ +
to_json(self)

Data descriptors inherited from oauth2client.client.OAuth2Credentials:
-
invalid
-
True if the credentials are invalid, such as being revoked.
+
access_token_expired
+
True if the credential is expired or invalid.

+If the token_expiry isn't set, we assume the token doesn't expire.
+
+Class methods inherited from oauth2client.client.Credentials:
+
new_from_json(cls, s) from __builtin__.type
Utility class method to instantiate a Credentials subclass from a JSON
+representation produced by to_json().

+Args:
+  s: string, JSON from to_json().

+Returns:
+  An instance of the subclass of Credentials that was serialized with
+  to_json().
+
Data descriptors inherited from oauth2client.client.Credentials:
__dict__
@@ -170,6 +188,10 @@ Data descriptors inherited from o
__weakref__
list of weak references to the object (if defined)
+
+Data and other attributes inherited from
oauth2client.client.Credentials:
+
NON_SERIALIZED_MEMBERS = ['store']
+

@@ -515,8 +537,11 @@ Methods defined here:
Data and other attributes defined here:
data_type = <class 'oauth2client.client.Credentials'>
Base class for all Credentials objects.
 
-Subclasses must define an authorize() method
-that applies the credentials to an HTTP transport.
+Subclasses must define an authorize() method that applies the credentials to
+an HTTP transport.

+Subclasses must also specify a classmethod named 'from_json' that takes a JSON
+string as input and returns an instaniated Crentials object.
Methods inherited from google.appengine.ext.db.Property:
@@ -902,6 +927,31 @@ Returns:
Args:
  credentials: Credentials, the credentials to store. +
+Methods inherited from oauth2client.client.Storage:
+
acquire_lock(self)
Acquires any lock necessary to access this Storage.

+This lock is not reentrant.
+ +
locked_get(self)
Retrieve credential.

+The Storage lock must be held when this is called.

+Returns:
+  oauth2client.client.Credentials
+ +
locked_put(self, credentials)
Write a credential.

+The Storage lock must be held when this is called.

+Args:
+  credentials: Credentials, the credentials to store.
+ +
release_lock(self)
Release the Storage lock.

+Trying to release a lock that isn't held will result in a
+RuntimeError.
+
Data descriptors inherited from oauth2client.client.Storage:
__dict__
diff --git a/docs/oauth2client.client.html b/docs/oauth2client.client.html index fd34ab1..e3d266b 100644 --- a/docs/oauth2client.client.html +++ b/docs/oauth2client.client.html @@ -8,11 +8,10 @@
 
 
oauth2client.client
index
/home/jcgregorio/projects/google-api-python-client/oauth2client/client.py
-

An OAuth 2.0 client
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/client.py
+

An OAuth 2.0 client.
 
-Tools for interacting with OAuth 2.0 protected
-resources.

+Tools for interacting with OAuth 2.0 protected resources.

@@ -80,14 +79,15 @@ resources.

class AccessTokenCredentials(OAuth2Credentials) -
   Credentials object for OAuth 2.0
+
Credentials object for OAuth 2.0.
 
-Credentials can be applied to an httplib2.Http object using the authorize()
-method, which then signs each request from that object with the OAuth 2.0
-access token.  This set of credentials is for the use case where you have
-acquired an OAuth 2.0 access_token from another place such as a JavaScript
-client or another web application, and wish to use it from Python. Because
-only the access_token is present it can not be refreshed and will in time
+Credentials can be applied to an httplib2.Http object using the
+authorize() method, which then signs each request from that object
+with the OAuth 2.0 access token.  This set of credentials is for the
+use case where you have acquired an OAuth 2.0 access_token from
+another place such as a JavaScript client or another web
+application, and wish to use it from Python. Because only the
+access_token is present it can not be refreshed and will in time
expire.
 
AccessTokenCredentials objects may be safely pickled and unpickled.
@@ -123,6 +123,10 @@ Notes:
  store: callable, a callable that when passed a Credential
    will store the credential back to where it came from.
+
+Class methods defined here:
+
from_json(cls, s) from __builtin__.type
+
Methods inherited from OAuth2Credentials:
__getstate__(self)
Trim the state down to something that can be pickled.
@@ -143,27 +147,42 @@ Example:
  h = httplib2.Http()
  h = credentials.authorize(h)
 
-You can't create a new OAuth
-subclass of httplib2.Authenication because
-it never gets passed the absolute URI, which is
-needed for signing. So instead we have to overload
-'request' with a closure that adds in the
-Authorization header and then calls the original version
-of 'request()'. +You can't create a new OAuth subclass of httplib2.Authenication
+because it never gets passed the absolute URI, which is needed for
+signing. So instead we have to overload 'request' with a closure
+that adds in the Authorization header and then calls the original
+version of 'request()'. -
set_store(self, store)
Set the storage for the credential.
+
set_store(self, store)
Set the Storage for the credential.
 
Args:
-  store: callable, a callable that when passed a Credential
-    will store the credential back to where it came from.
+  store: Storage, an implementation of Stroage object.
    This is needed to store the latest access_token if it
-    has expired and been refreshed.
+    has expired and been refreshed.  This implementation uses
+    locking to check for updates before updating the
+    access_token.
+ +
to_json(self)

Data descriptors inherited from OAuth2Credentials:
-
invalid
-
True if the credentials are invalid, such as being revoked.
+
access_token_expired
+
True if the credential is expired or invalid.

+If the token_expiry isn't set, we assume the token doesn't expire.
+
+Class methods inherited from Credentials:
+
new_from_json(cls, s) from __builtin__.type
Utility class method to instantiate a Credentials subclass from a JSON
+representation produced by to_json().

+Args:
+  s: string, JSON from to_json().

+Returns:
+  An instance of the subclass of Credentials that was serialized with
+  to_json().
+
Data descriptors inherited from Credentials:
__dict__
@@ -172,6 +191,10 @@ Data descriptors inherited from C
__weakref__
list of weak references to the object (if defined)
+
+Data and other attributes inherited from
Credentials:
+
NON_SERIALIZED_MEMBERS = ['store']
+

@@ -301,12 +324,12 @@ Data descriptors inherited from exceptio class AssertionCredentials(OAuth2Credentials) - @@ -318,7 +341,7 @@ generate the appropriate assertion string.

Methods defined here:
-
__init__(self, assertion_type, user_agent, token_uri='https://accounts.google.com/o/oauth2/token', **kwargs)
Constructor for AssertionFlowCredentials
+
__init__(self, assertion_type, user_agent, token_uri='https://accounts.google.com/o/oauth2/token', **unused_kwargs)
Constructor for AssertionFlowCredentials.
 
Args:
  assertion_type: string, assertion type that will be declared to the auth
@@ -347,27 +370,53 @@ Example:
  h = httplib2.Http()
  h = credentials.authorize(h)
 
-You can't create a new OAuth
-subclass of httplib2.Authenication because
-it never gets passed the absolute URI, which is
-needed for signing. So instead we have to overload
-'request' with a closure that adds in the
-Authorization header and then calls the original version
-of 'request()'.
+You can't create a new OAuth subclass of httplib2.Authenication
+because it never gets passed the absolute URI, which is needed for
+signing. So instead we have to overload 'request' with a closure
+that adds in the Authorization header and then calls the original
+version of 'request()'.
-
set_store(self, store)
Set the storage for the credential.
+
set_store(self, store)
Set the Storage for the credential.
 
Args:
-  store: callable, a callable that when passed a Credential
-    will store the credential back to where it came from.
+  store: Storage, an implementation of Stroage object.
    This is needed to store the latest access_token if it
-    has expired and been refreshed.
+    has expired and been refreshed.  This implementation uses
+    locking to check for updates before updating the
+    access_token.
+ +
to_json(self)
+ +
+Class methods inherited from OAuth2Credentials:
+
from_json(cls, s) from __builtin__.type
Instantiate a Credentials object from a JSON description of it. The JSON
+should have been produced by calling .to_json() on the object.

+Args:
+  data: dict, A deserialized JSON object.

+Returns:
+  An instance of a Credentials subclass.

Data descriptors inherited from OAuth2Credentials:
-
invalid
-
True if the credentials are invalid, such as being revoked.
+
access_token_expired
+
True if the credential is expired or invalid.

+If the token_expiry isn't set, we assume the token doesn't expire.
+
+Class methods inherited from Credentials:
+
new_from_json(cls, s) from __builtin__.type
Utility class method to instantiate a Credentials subclass from a JSON
+representation produced by to_json().

+Args:
+  s: string, JSON from to_json().

+Returns:
+  An instance of the subclass of Credentials that was serialized with
+  to_json().
+
Data descriptors inherited from Credentials:
__dict__
@@ -376,6 +425,10 @@ Data descriptors inherited from C
__weakref__
list of weak references to the object (if defined)
+
+Data and other attributes inherited from
Credentials:
+
NON_SERIALIZED_MEMBERS = ['store']
+
   Abstract Credentials object used for OAuth 2.0 assertion grants
+
Abstract Credentials object used for OAuth 2.0 assertion grants.
 
-This credential does not require a flow to instantiate because it represents
-a two legged flow, and therefore has all of the required information to
-generate and refresh its own access tokens.  It must be subclassed to
-generate the appropriate assertion string.
+This credential does not require a flow to instantiate because it
+represents a two legged flow, and therefore has all of the required
+information to generate and refresh its own access tokens.  It must
+be subclassed to generate the appropriate assertion string.
 
AssertionCredentials objects may be safely pickled and unpickled.
 
 

@@ -385,8 +438,11 @@ Data descriptors inherited from C +Subclasses must define an authorize() method that applies the credentials to
+an HTTP transport.

+Subclasses must also specify a classmethod named 'from_json' that takes a JSON
+string as input and returns an instaniated Crentials object.
 
    Base class for all Credentials objects.
 
-Subclasses must define an authorize() method
-that applies the credentials to an HTTP transport.
 
  Methods defined here:
authorize(self, http)
Take an httplib2.Http instance (or equivalent) and
@@ -395,6 +451,24 @@ replacing http.request() with a method that adds&n the appropriate headers and then delegates to the original
Http.request() method.
+
to_json(self)
Creating a JSON representation of an instance of Credentials.

+Returns:
+   string, a JSON representation of this instance, suitable to pass to
+   from_json().
+ +
+Class methods defined here:
+
new_from_json(cls, s) from __builtin__.type
Utility class method to instantiate a Credentials subclass from a JSON
+representation produced by to_json().

+Args:
+  s: string, JSON from to_json().

+Returns:
+  An instance of the subclass of Credentials that was serialized with
+  to_json().
+
Data descriptors defined here:
__dict__
@@ -403,6 +477,10 @@ Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)
+
+Data and other attributes defined here:
+
NON_SERIALIZED_MEMBERS = ['store']
+

@@ -547,7 +625,7 @@ Data descriptors inherited from exceptio class OAuth2Credentials(Credentials) -
   Credentials object for OAuth 2.0
+
Credentials object for OAuth 2.0.
 
Credentials can be applied to an httplib2.Http object using the authorize()
method, which then signs each request from that object with the OAuth 2.0
@@ -564,21 +642,20 @@ access token.
Methods defined here:
__getstate__(self)
Trim the state down to something that can be pickled.
-
__init__(self, access_token, client_id, client_secret, refresh_token, token_expiry, token_uri, user_agent)
Create an instance of OAuth2Credentials
+
__init__(self, access_token, client_id, client_secret, refresh_token, token_expiry, token_uri, user_agent)
Create an instance of OAuth2Credentials.
 
This constructor is not usually called by the user, instead
OAuth2Credentials objects are instantiated by the OAuth2WebServerFlow.
 
Args:
-  token_uri: string, URI of token endpoint.
+  access_token: string, access token.
  client_id: string, client identifier.
  client_secret: string, client secret.
-  access_token: string, access token.
-  token_expiry: datetime, when the access_token expires.
  refresh_token: string, refresh token.
+  token_expiry: datetime, when the access_token expires.
+  token_uri: string, URI of token endpoint.
  user_agent: string, The HTTP User-Agent to provide for this application.
 

Notes:
  store: callable, a callable that when passed a Credential
    will store the credential back to where it came from.
@@ -601,27 +678,53 @@ Example:
  h = httplib2.Http()
  h = credentials.authorize(h)
 
-You can't create a new OAuth
-subclass of httplib2.Authenication because
-it never gets passed the absolute URI, which is
-needed for signing. So instead we have to overload
-'request' with a closure that adds in the
-Authorization header and then calls the original version
-of 'request()'.
+You can't create a new OAuth subclass of httplib2.Authenication
+because it never gets passed the absolute URI, which is needed for
+signing. So instead we have to overload 'request' with a closure
+that adds in the Authorization header and then calls the original
+version of 'request()'.
-
set_store(self, store)
Set the storage for the credential.
+
set_store(self, store)
Set the Storage for the credential.
 
Args:
-  store: callable, a callable that when passed a Credential
-    will store the credential back to where it came from.
+  store: Storage, an implementation of Stroage object.
    This is needed to store the latest access_token if it
-    has expired and been refreshed.
+    has expired and been refreshed.  This implementation uses
+    locking to check for updates before updating the
+    access_token.
+ +
to_json(self)
+ +
+Class methods defined here:
+
from_json(cls, s) from __builtin__.type
Instantiate a Credentials object from a JSON description of it. The JSON
+should have been produced by calling .to_json() on the object.

+Args:
+  data: dict, A deserialized JSON object.

+Returns:
+  An instance of a Credentials subclass.

Data descriptors defined here:
-
invalid
-
True if the credentials are invalid, such as being revoked.
+
access_token_expired
+
True if the credential is expired or invalid.

+If the token_expiry isn't set, we assume the token doesn't expire.
+
+Class methods inherited from Credentials:
+
new_from_json(cls, s) from __builtin__.type
Utility class method to instantiate a Credentials subclass from a JSON
+representation produced by to_json().

+Args:
+  s: string, JSON from to_json().

+Returns:
+  An instance of the subclass of Credentials that was serialized with
+  to_json().
+
Data descriptors inherited from Credentials:
__dict__
@@ -630,6 +733,10 @@ Data descriptors inherited from C
__weakref__
list of weak references to the object (if defined)
+
+Data and other attributes inherited from
Credentials:
+
NON_SERIALIZED_MEMBERS = ['store']
+

@@ -648,7 +755,7 @@ Data descriptors inherited from C
Methods defined here:
-
__init__(self, client_id, client_secret, scope, user_agent, auth_uri='https://accounts.google.com/o/oauth2/auth', token_uri='https://accounts.google.com/o/oauth2/token', **kwargs)
Constructor for OAuth2WebServerFlow
+
__init__(self, client_id, client_secret, scope, user_agent, auth_uri='https://accounts.google.com/o/oauth2/auth', token_uri='https://accounts.google.com/o/oauth2/token', **kwargs)
Constructor for OAuth2WebServerFlow.
 
Args:
  client_id: string, client identifier.
@@ -699,19 +806,48 @@ Data descriptors inherited from Flow
+Store and retrieve a single credential.  This class supports locking
+such that multiple processes and threads can operate on a single
+store.
 
-
    Base class for all Storage objects.
 
-Store and retrieve a single credential.
 
  Methods defined here:
+
acquire_lock(self)
Acquires any lock necessary to access this Storage.

+This lock is not reentrant.
+
get(self)
Retrieve credential.
 
+The Storage lock must *not* be held when this is called.

Returns:
  oauth2client.client.Credentials
-
put(self, credentials)
Write a credential.
+
locked_get(self)
Retrieve credential.

+The Storage lock must be held when this is called.

+Returns:
+  oauth2client.client.Credentials
+ +
locked_put(self, credentials)
Write a credential.

+The Storage lock must be held when this is called.
 
Args:
  credentials: Credentials, the credentials to store.
+
put(self, credentials)
Write a credential.

+The Storage lock must be held when this is called.

+Args:
+  credentials: Credentials, the credentials to store.
+ +
release_lock(self)
Release the Storage lock.

+Trying to release a lock that isn't held will result in a
+RuntimeError.
+
Data descriptors defined here:
__dict__
@@ -727,7 +863,9 @@ Data descriptors defined here:
Data
       __author__ = 'jcgregorio@google.com (Joe Gregorio)'

+EXPIRY_FORMAT = '%Y-%m-%dT%H:%M:%S.%fZ'
+__author__ = 'jcgregorio@google.com (Joe Gregorio)'
+logger = <logging.Logger instance>

 
diff --git a/docs/oauth2client.django_orm.html b/docs/oauth2client.django_orm.html index 2b1d7d3..19fb474 100644 --- a/docs/oauth2client.django_orm.html +++ b/docs/oauth2client.django_orm.html @@ -281,6 +281,31 @@ Returns:
Args:
  credentials: Credentials, the credentials to store. +
+Methods inherited from oauth2client.client.Storage:
+
acquire_lock(self)
Acquires any lock necessary to access this Storage.

+This lock is not reentrant.
+ +
locked_get(self)
Retrieve credential.

+The Storage lock must be held when this is called.

+Returns:
+  oauth2client.client.Credentials
+ +
locked_put(self, credentials)
Write a credential.

+The Storage lock must be held when this is called.

+Args:
+  credentials: Credentials, the credentials to store.
+ +
release_lock(self)
Release the Storage lock.

+Trying to release a lock that isn't held will result in a
+RuntimeError.
+
Data descriptors inherited from oauth2client.client.Storage:
__dict__
diff --git a/docs/oauth2client.file.html b/docs/oauth2client.file.html index cc5ea82..dd6c318 100644 --- a/docs/oauth2client.file.html +++ b/docs/oauth2client.file.html @@ -8,7 +8,7 @@
 
 
oauth2client.file
index
/home/jcgregorio/projects/google-api-python-client/oauth2client/file.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/file.py

Utilities for OAuth.
 
Utilities for making it easier to work with OAuth 2.0
@@ -21,8 +21,9 @@ credentials.

       
pickle
+
simplejson
threading
-

+

 
@@ -60,11 +61,36 @@ Methods defined here:
Returns:
  oauth2client.client.Credentials -
put(self, credentials)
Write a pickled Credentials to file.
+
put(self, credentials)
Write Credentials to file.
 
Args:
  credentials: Credentials, the credentials to store.
+
+Methods inherited from oauth2client.client.Storage:
+
acquire_lock(self)
Acquires any lock necessary to access this Storage.

+This lock is not reentrant.
+ +
locked_get(self)
Retrieve credential.

+The Storage lock must be held when this is called.

+Returns:
+  oauth2client.client.Credentials
+ +
locked_put(self, credentials)
Write a credential.

+The Storage lock must be held when this is called.

+Args:
+  credentials: Credentials, the credentials to store.
+ +
release_lock(self)
Release the Storage lock.

+Trying to release a lock that isn't held will result in a
+RuntimeError.
+
Data descriptors inherited from oauth2client.client.Storage:
__dict__
diff --git a/docs/oauth2client.html b/docs/oauth2client.html index 2a973c6..b19eaab 100644 --- a/docs/oauth2client.html +++ b/docs/oauth2client.html @@ -8,7 +8,7 @@
 
 
oauth2client
index
/home/jcgregorio/projects/google-api-python-client/oauth2client/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/__init__.py

@@ -19,8 +19,11 @@
       
appengine
client
+
clientid
+clientsecrets
django_orm
file
-
tools
-
+multistore_file
+tools
+ \ No newline at end of file diff --git a/docs/oauth2client.multistore_file.html b/docs/oauth2client.multistore_file.html new file mode 100644 index 0000000..c3b9ecc --- /dev/null +++ b/docs/oauth2client.multistore_file.html @@ -0,0 +1,229 @@ + + +Python: module oauth2client.multistore_file + + + + +
 
+ 
oauth2client.multistore_file
index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/multistore_file.py
+

Multi-credential file store with lock support.

+This module implements a JSON credential store where multiple
+credentials can be stored in one file.  That file supports locking
+both in a single process and across processes.

+The credential themselves are keyed off of:
+* client_id
+* user_agent
+* scope

+The format of the stored data is like so:
+{
+  'file_version': 1,
+  'data': [
+    {
+      'key': {
+        'clientId': '<client id>',
+        'userAgent': '<user agent>',
+        'scope': '<scope>'
+      },
+      'credential': {
+        # JSON serialized Credentials.
+      }
+    }
+  ]
+}

+

+ + + + + +
 
+Modules
       
base64
+fcntl
+
logging
+os
+
pickle
+simplejson
+
threading
+

+ + + + + +
 
+Classes
       
+
exceptions.Exception(exceptions.BaseException) +
+
+
Error +
+
+
NewerCredentialStoreError +
+
+
+
+
+

+ + + + + + + +
 
+class Error(exceptions.Exception)
   Base error for this module.
 
 
Method resolution order:
+
Error
+
exceptions.Exception
+
exceptions.BaseException
+
__builtin__.object
+
+
+Data descriptors defined here:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from exceptions.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from exceptions.Exception:
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from exceptions.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

+Use of negative indices is not supported.
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
__unicode__(...)
+ +
+Data descriptors inherited from exceptions.BaseException:
+
__dict__
+
+
args
+
+
message
+
+

+ + + + + + + +
 
+class NewerCredentialStoreError(Error)
   The credential store is a newer version that supported.
 
 
Method resolution order:
+
NewerCredentialStoreError
+
Error
+
exceptions.Exception
+
exceptions.BaseException
+
__builtin__.object
+
+
+Data descriptors inherited from Error:
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Methods inherited from exceptions.Exception:
+
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ +
+Data and other attributes inherited from exceptions.Exception:
+
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
+ +
+Methods inherited from exceptions.BaseException:
+
__delattr__(...)
x.__delattr__('name') <==> del x.name
+ +
__getattribute__(...)
x.__getattribute__('name') <==> x.name
+ +
__getitem__(...)
x.__getitem__(y) <==> x[y]
+ +
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

+Use of negative indices is not supported.
+ +
__reduce__(...)
+ +
__repr__(...)
x.__repr__() <==> repr(x)
+ +
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
+ +
__setstate__(...)
+ +
__str__(...)
x.__str__() <==> str(x)
+ +
__unicode__(...)
+ +
+Data descriptors inherited from exceptions.BaseException:
+
__dict__
+
+
args
+
+
message
+
+

+ + + + + +
 
+Functions
       
get_credential_storage(filename, client_id, user_agent, scope, warn_on_readonly=True)
Get a Storage instance for a credential.

+Args:
+  filename: The JSON file storing a set of credentials
+  client_id: The client_id for the credential
+  user_agent: The user agent for the credential
+  scope: A string for the scope being requested
+  warn_on_readonly: if True, log a warning if the store is readonly

+Returns:
+  An object derived from client.Storage for getting/setting the
+  credential.
+

+ + + + + +
 
+Data
       __author__ = 'jbeda@google.com (Joe Beda)'
+logger = <logging.Logger instance>

+ + + + + +
 
+Author
       jbeda@google.com (Joe Beda)
+ \ No newline at end of file diff --git a/docs/oauth2client.tools.html b/docs/oauth2client.tools.html index f12e779..9ae70c0 100644 --- a/docs/oauth2client.tools.html +++ b/docs/oauth2client.tools.html @@ -8,7 +8,7 @@  
 
oauth2client.tools
index
/home/jcgregorio/projects/google-api-python-client/oauth2client/tools.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/tools.py

Command-line tools for authenticating via OAuth 2.0
 
Do the OAuth 2.0 Web Server dance for a command line application. Stores the
@@ -22,11 +22,10 @@ the same directory.

       
BaseHTTPServer
-gflags
-
logging
-socket
+
gflags
+
socket
sys
-

+

 
diff --git a/docs/uritemplate.html b/docs/uritemplate.html index 585f50e..4801a0a 100644 --- a/docs/uritemplate.html +++ b/docs/uritemplate.html @@ -8,7 +8,7 @@
 
 
uritemplate
index
/home/jcgregorio/projects/google-api-python-client/uritemplate/__init__.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/uritemplate/__init__.py

# Early, and incomplete implementation of -04.
#

diff --git a/setup.py b/setup.py index db17fcb..87e54d9 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ long_desc = """The Google API Client for Python is a client library for accessing the Buzz, Moderator, and Latitude APIs.""" setup(name="google-api-python-client", - version="1.0beta2", + version="1.0beta3", description="Google API Client Library for Python", long_description=long_desc, author="Joe Gregorio", diff --git a/setup_oauth2client.py b/setup_oauth2client.py index ec87873..6090c1a 100644 --- a/setup_oauth2client.py +++ b/setup_oauth2client.py @@ -55,7 +55,7 @@ for import_name, requires, package, modules in REQUIREMENTS: long_desc = """The oauth2client is a client library for OAuth 2.0.""" setup(name="oauth2client", - version="1.0beta2", + version="1.0beta3", description="OAuth 2.0 client library", long_description=long_desc, author="Joe Gregorio",