Go to the Google API Console. Select a project. In the sidebar on the left, expand APIs & auth and select APIs. In the displayed list of available APIs, click the Drive API link and click Enable API.
When you create your application, you register it using the Google API Console. Google then provides information you'll need later, such as a client ID and a client secret. Activate the Google Drive Activity API in the Google API Console. (If the API isn't listed in the API Console, then skip this step.)
Go to https://developers.google.com/drive/api/v3/quickstart/go, click "Enable the Drive API", select the account with the stash and click "Download Client Configuration".
I'd like to save the files of my Saas Appication to my Google Drive Account, all the examples I've seen was with oauth2 autentication and needs the end user autenticate openning the browser, I need to upload files from my server without any user interation, sending files direct to my account!
I have try many tutorials I found on internet with no success, mainly the oficial
Google Drive API with Python
How can I autenticate programatically from my server and upload files and use API features such as share folders and others?
I'm using Python, the lib PyDrive uses the same aproach to autenticate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With