Asynchronous Google Drive API.


License
MIT
Install
pip install wcpan.drive.google==4.0.6

Documentation

wcpan.drive.google

Asynchronous Google Drive API.

Example Usage

import os.path as op

from wcpan.drive.google import Drive


async def api_demo():
    path = op.expanduser('~/.cache/wcpan/drive/google')

    async with Drive(path) as drive:
        node = await drive.get_node_by_path('/path/to/drive/file')
        ok = await drive.download_file(node, '/path/to/local')

Command Line Usage

python3 -m wcpan.drive.google -h