See
http://google-api-python-client.googlecode.com/hg/docs/apiclient.discovery.html#
-build
build(serviceName, version, http=None,
discoveryServiceUrl='https://www.googleapis.com/discovery/v1/apis/{api}/{apiVers
ion}/rest', developerKey=None, model=None, requestBuilder=<class
'apiclient.http.HttpRequest'>)
Construct a Resource for interacting with an API.
Construct a Resource object for interacting with
an API. The serviceName and version are the
names from the Discovery service.
Args:
serviceName: string, name of the service
version: string, the version of the service
discoveryServiceUrl: string, a URI Template that points to
the location of the discovery service. It should have two
parameters {api} and {apiVersion} that when filled in
produce an absolute URI to the discovery document for
that service.
developerKey: string, key obtained
from https://code.google.com/apis/console
model: apiclient.Model, converts to and from the wire format
requestBuilder: apiclient.http.HttpRequest, encapsulator for
an HTTP request
Returns:
A Resource object with methods for interacting with
the service.
Original issue reported on code.google.com by avall...@google.com on 24 Feb 2012 at 2:52
Original issue reported on code.google.com by
avall...@google.com
on 24 Feb 2012 at 2:52