Answer the question
In order to leave comments, you need to log in
How to download a file from docs.google.com/spreadsheets?
Launched an unknown google api.
I can’t figure out how, knowing the ID of the document, download it
$service = new Google_Service_Sheets($client);
$response = $service->spreadsheets_values->get(DOC_ID, 'A:Z');
dd($response->getValues()); // тут все записи
$service = new Google_Service_Drive($client);
$service->files->get(DOC_ID) // тут пишет что такого файла не существует
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question