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.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7c37c9d96137a52c2b2df4beba56673e7a99a694326a7d70e10ade149aa5cc5 |
|
MD5 | ab256838e7aa92625b92277a480eadcd |
|
BLAKE2b-256 | deeb58cc4557159af748fae95e44c8520ac3f904c428b2c4505c45b712d554ed |