I have authenticated for google drive using passport js
Now I have access token
So I am looking for to get all folders path with their respective folder Id.
I am not aware what parameters need to set to get only folders path and folder id
I am using google-drive library for fetching lists
Here is my code
var googleDrive = require('google-drive')
var param={}
googleDrive(accessToken).files().list(params, (err, response, body) => {
//fetch folders path
})
Thanks.