Use Google Drive API v3 with a python interface
Project description
GDrive Python
Installing
$ pip install pygdrive3
Usage
from pygdrive3 import service
drive_service = service.DriveService('./client_secret.json')
drive_service.auth()
folder = drive_service.create_folder('Xesque')
file = drive_service.upload_file('Arquivo Teste', './files/test.pdf', folder)
link = drive_service.anyone_permission(file)
folders = drive_service.list_folders_by_name('Xesque')
files = drive_service.list_files_by_name('Arquivo Teste')
files_from_folder = drive_service.list_files_from_folder_id(folder)
by Matheus Almeida
Use Google Drive API v3 with a python interface
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygdrive3-0.6.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 943c416026367bd523b4ec1a9340826cc6915ec540cff21caa298969452ef68d |
|
MD5 | 37ee5208476b21235d3344407c20d0c1 |
|
BLAKE2b-256 | b52d989d04fd66e3f891bb710c6ee93c322df280360d5ab7f5b274789d0e8bb2 |