-
Notifications
You must be signed in to change notification settings - Fork 0
Google Drive API configuration
Gabe edited this page Sep 1, 2024
·
7 revisions
The google drive API is a bit overcomplicated for simple use cases, and doesn't provide a simple authentication scheme using an API key. Instead, we have to use oauth (with a client library which touches the filesystem!?) or a service account.
- https://developers.google.com/drive/api/reference/rest/v3/permissions#Permission
- https://developers.google.com/drive/api/guides/search-shareddrives
- https://developers.google.com/identity/protocols/oauth2/service-account?authuser=3#python
- use the name
google_key.json
- follow https://developers.google.com/identity/protocols/oauth2/service-account?authuser=3#delegatingauthority:~:text=To%20delegate%20domain%2Dwide%20authority
- give access to the
https://www.googleapis.com/auth/drive
scope