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.yaml
with no luck