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.7.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa0c9b294d3940ff0919fee6c8e96368c32dee932367ae42e713ffb6b158076 |
|
MD5 | a6aec9b65bfcdabf9df1856c3f1730fa |
|
BLAKE2b-256 | 26145329b65d275b9662e510f042d0ddb04b5379afdf62d6ea5cb41a54e01ebf |