I'm trying to create script to download all files from another user shared folder in google drive using rest api. If i'm right, there are two variants:
- Using drive.children.list, with folder ID
- Using drive.files.list, with search query like 'FOLDER_ID in parents'
But both of this variants returning only files which were once opened by my google account in browser. If I open file in browser - this file will appear in results of API calls.
Folder is shared for anyone, who has link.
Where is the problem, how I can list all files in folder?