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.4.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3fixed-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab116d836655690c30ece4777d57a7816640f2e6d2b2aaa828d4e3bc8f7d5105 |
|
MD5 | e8f30adb47827735d69c1fd25aa17a42 |
|
BLAKE2b-256 | 64cc94924e82a27d26191c7acb6d38bdc0edca46ba2b654119aab4a4a6f0d151 |