pythongoogle-drive-apipydrive

Google Drive Python API without Creating Project


For the Google Drive Python API, in all the tutorials I have seen, they require users to create a project in their Google Dashboard, before obtaining a client ID and a client secret json file. I've been researching both the default Google Drive API and the pydrive module.

Is there a way for users to simply login to their Google Account with username and password, without having to create a project? So once they login to their Google Account, they are free to access all files in their Google Drive?


Solution

  • It's not possible to use the Drive API without creating a GCP project for the application. Otherwise Google has no idea what application is requesting access, and what scope of account access it should have.

    Using simply a username and password to log in is not possible. You need to create a project and use OAuth.