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.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for pygdrive3-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e9e48359a17658e266a2affe7443d6fce953398fd40e3c4aae37f3bf77080d |
|
MD5 | db86980b39456ec450df5e470fbe0fd6 |
|
BLAKE2b-256 | a2e51f23903e55b2492d46f5ac2344e984c02997b2148b9ced1d13799c9918f8 |