Use Google Drive API v3 with a python interface
Project description
GDrive Python
Contribute
If you found any missing feature please create an issue on that github repo or make your pull request.
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.8.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ff16a7e5b901172fe6cc3dd66ca0be0740e1dbdb91f14b4526ec5ee3572b0a7 |
|
MD5 | 09751a4a97612d88abdf3b6e74c3267f |
|
BLAKE2b-256 | d1366eb8d172c852186e8b5e3f8aa8df405a01b2e423c03ea1ddd4c94be95c1e |