I am using Google Drive SDK to get a list of my files and display them on my site! I am using a service account for server-side integration!
I have like 4-5 folders in my root directory and 50-60 files in each of them! What scopes should I use and what method should I use so as to retrieve all the folders and then their sub files?
I cant seem to find documentation for getting folders or so! In v2 it was by using childrens method but PHP SDK is on v3.
My flow would be like this.
Authenticate using service acccount->get list of folders->get list of files inside this folder->display them.