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.5.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3fixed-0.6.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069f5f0b0d4004ae66d3c25ce2d9e04b7768a7b28b9542771d6f9dc2b7be5b5b |
|
MD5 | 9a661ee4e406410697a9e5ac38a5a394 |
|
BLAKE2b-256 | d94d06e401a0c3817f611e2bebbef46f6f62d989e84d02bfe866527eeb782576 |