How get list files from google drive with http request?
问题 How I can get files list with access token? I read doc google drive, but i dont know how write requests for listing files. My Example: rqf = requests.get('https://www.googleapis.com/drive/v3/files', headers= {"Authorization": access_token}) Output { "error": { "errors": [ { "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Invalid Credentials" } } 回答1: You want to retrieve the file