Use Google Drive API v3 with a python interface
Project description
GDrive Python
Installing
$ pip install pygdrive3==0.2.0
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.4.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2534e8d9976ba7b1448ca9f8d4a9cf0c101b96f1e146f2cee210327b56013bad |
|
MD5 | 0f79aafd093f063d67c4e24ef55d3f39 |
|
BLAKE2b-256 | f4caff2eb424c1f7310556e7256f97d17ca694ba27f0583135ec1b2414541380 |