0

I am working with pydrive to list files in a directory using the following loop

file_list = drive.ListFile({'q': 'trashed=false'}).GetList()
for file1 in file_list:
    print('title: %s, id: %s' % (file1['title'], file1['id']))

I adjusted the oauth_scope as mentioned in another question response however I can only list the files created by pydrive and not uploaded by the user

My settings.yaml is having the following scope

oauth_scope:

https://www.googleapis.com/auth/drive

Any idea why I only get the files uploaded by pydrive, is there something that I need to adjust in the credentials settings in the google drive API?

Thanks and best regards

I tried adjusting outh scope in settings.yamlwith no luck

Marian Klösler
  • 620
  • 8
  • 22
  • I have to apologize for my poor English skill. Unfortunately, I couldn't understand `I adjusted the oauth_scope as mentioned in another question response however I can only list the files created by pydrive and not uploaded by user`. Can I ask you about the detail of `not uploaded by user`? In your situation, where are the files of `not uploaded by user`? – Tanaike Feb 07 '23 at 01:30

0 Answers0