Use Google Drive API v3 with a python interface
Project description
GDrive Python
Installing
$ pip install pygdrive3
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.5.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a408589d852a163f7f55fa437f715083cb6cc458ba720651e77cf72b7eac85 |
|
MD5 | 1e251a5012b1240f22088c13e05a50dc |
|
BLAKE2b-256 | 86e962d1280df2686b008d515c6ee6f2078307ad1f00c49ac6c51d14d435697f |