Skip to content

Google Drive as blob storage - an extension of PyDrive2

Notifications You must be signed in to change notification settings

CharlieSergeant/gdrive3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdrive3

Google Drive as blob storage an extension of PyDrive2

Service Account Authentication

  1. Create a new project

  2. Search for google drive api and enable it

  3. Create credentials for an OAuth client for your project

    1. Select ‘Application type’ to be Web application.
    2. Enter an appropriate name.
    3. Input http://localhost:8080/ for ‘Authorized redirect URIs’.
    4. Click ‘Create’.
  4. Copy your client_id and client_secret values

Once you have your client_id and client_secret values, rename .sample-env to .env and add your client_id and client_secret

Run python init.py

  1. Follow the one time auth flow.
  2. Navigate to the created credentials file
    1. Windows: ..../AppData/Local/pydrive2fs/...
    2. Mac: ...
  3. Copy the .json file contents

About

Google Drive as blob storage - an extension of PyDrive2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages