I have been successfully uploading files to a google-drive-folder with PyDrive. But, when it comes to uploading files to a folder in a google-drive-teamdrive-folder which is shared with me, the following code is not working.
I have been searching for means to upload files to Teamdrives with PyDrive but in vain. I see in the pydrive's github pages that they added the teamdrives support approx 8 month ago. But I cannot find any documentation on how to use that. Can anyone suggest where I am being wrong please?
The TeamDrive Agent offers a JSON interface via HTTP, which allows you to operatethe TeamDrive Agent without using the GUI. The JSON interface can be activated by specifying the teamdrived --http-api-port option.
It is recommended to use port 443 for communication with browsers, because using a non-standard port for HTTPSis considered insecure. Please also have a look at the teamdrived --http-api-certificateand teamdrived --http-api-private-key settings.