Google drive API Get file id having the name

user3602803 03/07/2018. 1 answers, 197 views
php google-drive-sdk google-drive-sdk google-drive-realtime-api google-drive-realtime-api

Is it possible to get the id of a file in google drive having the name, extension and path of this file? I've been looking for this but I'm not finding

I think it's listing all the files using some sort of filter by name, right? But how do I get the id after this?

1 Answers


You can actually try the method Files: get. From this, you will be able to get a file metadata in which the "fileId" was included.

There is also a supplied PHP code specific for this method. You can try it.

Related questions

Hot questions

Language

Popular Tags