Use Google Drive API v3 with a python interface
Project description
GDrive Python
Installing
$ pip install pygdrive3fixed
Usage
from pygdrive3fixed 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygdrive3fixed-0.6.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3fixed-0.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 990995fb586386e4e3ef0b2892aafcc0a300c40af32a36d6345606494d2ddd1f |
|
MD5 | 502016aaf3aece9e50a19c5195995e87 |
|
BLAKE2b-256 | 45fa32854e687796716864978fa98a8da7e02ca095284d22380a2a9747a0bc55 |