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.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3fixed-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d04df37aa1291b6724ef2290f4634893dd9be17cd95dc1ef111d39f8a669d6e |
|
MD5 | 0d4d407f004ad794c195d6ebd35d4e85 |
|
BLAKE2b-256 | b272e74743b7c9c97c873b6313d7187bfe9fb63af5f32474829d95f9a4b0618d |