Upload file to Google Drive from a Web App
You just need to add your credentials.json/client_secret.json file to the app path and just run it using python3 app.py
. Voila !
Notes here by Google: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#iam-service-account-keys-list-python
Thanks to @https://github.com/jakerieger/FlaskIntroduction for the code base