0
我正在查詢Google雲端硬盤的某個文件以查找其網址。這是我的代碼。我唯一改變的是,當我打印inserted_file我的API密鑰與AAAAAAAAAAGoogle雲端硬盤API列表文件夾GET
queryString = urllib.quote_plus("title = \'" + filename + "\'")
parameters = {'key':'{AAAAAAAAAA}', 'q': queryString}
inserted_file = requests.get('https://www.googleapis.com/drive/v2/files', params = parameters)
print (inserted_file.url)
print inserted_file
取代,它會返回錯誤400什麼是我做錯了什麼?