Google Drive API How can I find the path of a file?
问题 I'm trying to find the path of a file when fetching a file list with the Google Drive API. Right now, I'm able to fetch file properties (currently only fetching checksum, id, name, and mimeType): results = globalShares.service.files().list(pageSize=1000,corpora='user',fields='nextPageToken, files(md5Checksum, id, name, mimeType)').execute() items = results.get('files',[]) nextPageToken = results.get('nextPageToken',False) for file in items: print("=============================================