PyDrive
PyDrive copied to clipboard
Authorize from service_account.json
I want my application to authorize using service_account.json instead of client_secrets.json or credentials. How can I acheive this. Thanks in advance.
i need too, please
Hey 👋 I've written a small hack to get Pydrive working with a typical service_account.json file.
https://gist.github.com/rmasters/0f71267dfbb01ded07fe4c873254d2e4
This isn't feature-complete (I haven't investigated all of the Pydrive settings) but might help you get basic Drive access working (and works for us @Lendable).
@rmasters PTAL at the iterative/PyDrive2 it supports json service files for a while I think