Skip to content

kaustubh135/PGDrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

PGDrive

A Simple Tool for Google Drive.

Contributors Forks Stargazers Issues License

Built With

Used PyDrive2 an Google Drive API Wrapper for Python to perform all functions with Google Drive.

Getting Started

To get started you need to get OAuth2.0 for authentication with Google Drive API and required Python Modules.

Prerequisites

You need to install required Python modules from requirements.trxt

  • python3.9+
pip install -r requirements.txt

Installation

  1. Go to APIs Console and make your own project.

  2. Search for ‘Google Drive API’, select the entry, and click ‘Enable’.

  3. Select ‘Credentials’ from the left menu, click ‘Create Credentials’, select ‘OAuth client ID’.

  4. Now, the product name and consent screen need to be set -> click ‘Configure consent screen’ and follow the instructions. Once finished:

  5. Select ‘Application type’ to be Web application.

  6. Enter an appropriate name.

  7. Input http://localhost:8080/ for ‘Authorized redirect URIs’.

  8. Click ‘Create’.

  9. Click ‘Download JSON’ on the right side of Client ID to download client_secret_.json.

The downloaded file has all authentication information of your application. Rename the file to “client_secrets.json” and place it in your working directory.

License

Distributed under the MIT License. See LICENSE for more information.

About

Python Script for Google Drive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages