I need to get downloadurl of an image that is in google drive. I have seen the post Downloading Images from Google Drive but could not be clear. Any help would be greatly appreciated.
Try:
file = service.files().get(fileId=file_id, fields='downloadUrl').execute()
print file['downloadUrl']
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.