A simple Google Drive API python wrapper
Before starting you will have to turn on the Google Drive API following these instructions:
To use python-drive the following libraries will need to be installed:
- Google-api-python-client
$ pip install --upgrade google-api-python-client
- Httplib2
$ pip install httplib2
Create a file named client_secret.json in the same directory as main. This file can be created by visiting the Google API Console and selecting Create Credentials
.
main/drive.py provides the Drive
class which allows the user to operate the Google Drive API in an object oriented way. The Drive
class has simple methods such as query, create_folder, and upload_file that allow you to interact with your google drive account.
See the examples folder for specific usage.
- Alex Masi
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thank you:
- google-drive-api
- httplib2
- Originally created for use by the UCONN Ariel Vehicle Society