Connect to Google Service API's
Project description
libgoogle
Connect to Google Service API's.
The libgoogle package provides a function to connect to a google
service (such as Calendar, Drive and Mail), and manage credentials
and access tokens under the XDG schema.
function connect
connect(scope: str, version: str) -> googleapiclient.discovery.Resource
Connect to Google service identified by `scope` and `version`.
Args:
scope: (valid examples):
"https://www.googleapis.com/auth/gmail"
"https://www.googleapis.com/auth/gmail.readonly"
"gmail"
"gmail.readonly"
"drive.metadata.readonly"
"photoslibrary.readonly"
version: "v1", "v3", etc.
Files:
credentials: XDG_CONFIG_HOME / libgoogle / credentials.json
Must exist, or raises FileNotFoundError.
token: XDG_CACHE_HOME / libgoogle / {scope}-token.json
function set_debug
set_debug(flag: bool) -> None
Turn on/off low-level `httplib2` debugging.
Args:
flag: True to turn on debugging, False to turn off.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlane_libgoogle-1.0.6.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rlane_libgoogle-1.0.6.tar.gz.
File metadata
- Download URL: rlane_libgoogle-1.0.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf7c3e5110ecb522e4c72a0156b014a16b368db8cd96fc14cc957a1d7b6d8af8
|
|
| MD5 |
124571424a20573e6fdf7e06f9f0fe2b
|
|
| BLAKE2b-256 |
f3b8fa0405dca8bb22f57e4d92a9780a77e625d0a7246a470af25de5bd7990c4
|
File details
Details for the file rlane_libgoogle-1.0.6-py3-none-any.whl.
File metadata
- Download URL: rlane_libgoogle-1.0.6-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c518bc285cac151c98834c477eb04ee5893969268c10bee4457239249598c8af
|
|
| MD5 |
adcfdf386601e9af8c65cb3b34e5ecce
|
|
| BLAKE2b-256 |
a350357580d4fc6acf497c13b941b2aa39f7cce33b4d28001e55e702bd64b0a3
|