R
R
ree4i2019-11-15 15:25:01
PHP
ree4i, 2019-11-15 15:25:01

How to get info about one file by ID in Google Drive API?

Working with Google Drive API via php.
Listing via $drive->files->listFiles($parameters) is clear.
But how to get information about a folder or file by ID?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JohnGeek, 2019-11-16
@ree4i

$drive->files->get($fileId);
Taken from here
https://developers.google.com/drive/api/v2/referen...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question