简体   繁体   中英

Is there a way to get the File Sharing Link of files in Google Drive?

Is there a way to get the "file sharing link" of all files in Google Drive using python?

I am going to assume by file share link you mean that if you share a file though google drive web app you can select the copy link and get a link that can be shared with anyone giving them access to view the file in question

在此处输入图像描述

No it is not possible to create this link via the Google drive api in any programming language.

The best you could do would be to set the file to public and then get the download link or the web link via the google drive api for the file. This is works but is not optimal for a lot of use cases.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM