Use Google Drive API v3 with a python interface


License
MIT
Install
pip install pygdrive3==0.8.1

Documentation

GDrive Python

License PyPI PyPI - Python Version Downloads

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