S
S
strify_252017-10-02 15:55:14
Google
strify_25, 2017-10-02 15:55:14

How to get data from Google Sheets on a website?

It is necessary to get data from google spreadsheets on the site. Can't even connect to api. What I did:
1. downloaded from here https://github.com/google/google-api-php-client/re... google-api-php-client-2.2.0
2. uploaded to vendor server
3. In console.developers.google created a project, populated the OAuth Access Request Window tab and created the credentials, downloaded the json file
4. Trying to run the script from this topic Importing data from a google spreadsheets cell into a website? - an error:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'json key is missing the type field' in

Maybe somewhere there is more detailed instructions for connecting and configuring?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question