package documentation
Caching utility for the discovery document.
| Module | appengine |
App Engine memcache based cache for the discovery document. |
| Module | base |
An abstract class for caching the discovery document. |
| Module | file |
File based cache for the discovery document. |
From __init__.py:
| Function | autodetect |
Detects an appropriate cache module and returns it. |
| Function | get |
Retrieves the discovery document from the directory defined in DISCOVERY_DOC_DIR corresponding to the serviceName and version provided. |
| Constant | DISCOVERY |
Undocumented |
| Constant | DISCOVERY |
Undocumented |
| Constant | LOGGER |
Undocumented |
Detects an appropriate cache module and returns it.
| Returns | |
| googleapiclient.discovery_cache.base.Cache, a cache object which is auto detected, or None if no cache object is available. |
Retrieves the discovery document from the directory defined in DISCOVERY_DOC_DIR corresponding to the serviceName and version provided.
| Parameters | |
| service | string, name of the service. |
| version | string, the version of the service. |
| Returns | |
| A string containing the contents of the JSON discovery document, otherwise None if the JSON discovery document was not found. | |
DISCOVERY_DOC_DIR =
¶
Undocumented
| Value |
|