Skip to content

Manage your Google Drive Services with this application

Notifications You must be signed in to change notification settings

jitendar-singh/gdrive-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Drive API

Complete the steps described in the rest of this page to use a simple Python command-line application that makes requests to the Drive API.

Prerequisites

Python 2.6 or greater
The pip package management tool
A Google account with Google Drive enabled

Step 1: Clone the project into your local machine using terminal

Step 2: Install the required packages

Step 2.1: Make web as you current working directory
Step 2.2: Run the following command to install the library using pip:
pip install -r requirements.txt

Step 3: Run the application

Run the sample using the following command:

python main.py

-The application will attempt to open a new window or tab in your default browser. If this fails, copy the URL from the console and manually open it in your browser.
-If you are not already logged into your Google account, you will be prompted to log in. If you are logged into multiple Google accounts, you will be asked to select one account to use for the authorization.
-Click the Accept button.
-The application will proceed automatically, and you may close the window/tab.

Application Functionality

List all files in the drive

Lists all the files inside the google drive

Upload a file to the drive

Uploads a file present in the sample directory to the google drive

Download a file from the drive

Downloads a file related to the file id entered and stores it inside the download folder.
Downlaod all files from the drive
Downloads all file stores it inside the download folder.

Notes

Please ignore the docker-compose.yml, Dockerfile this is work in progress.

Screenshot Attached

About

Manage your Google Drive Services with this application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published