I am looking to write a server application to upload files to Google Drive. I was previously using the Documents List API, but I see that is deprecated. I\'d like to move to the
gdrive solution is not working as of now(login problems). So you can now use rclone. You can install it with
conda install -c conda-forge rclone
Then follow the configuration doc https://rclone.org/drive/
After configuration you will be able to copy to google drive with this command(stat flags are for progress bar)
rclone copy remote: --stats-one-line -P --stats 2s
rclone has many backends included so you can upload not only to google drive