Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.3 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.3 KB

python-drive

A simple Google Drive API python wrapper

Getting Started

Before starting you will have to turn on the Google Drive API following these instructions: instructions

Prerequisites

To use python-drive the following libraries will need to be installed:

  1. Google-api-python-client
$ pip install --upgrade google-api-python-client
  1. Httplib2
$ pip install httplib2

Authentication

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.

Usage

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.

Authors

  • Alex Masi

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thank you:
    • google-drive-api
    • httplib2
  • Originally created for use by the UCONN Ariel Vehicle Society