This code does not work anymore. And https://google-api-example.herokuapp.com has been terminated.
When this program was first developed, websites did not need to go through an approval process to grant read/write access to password protected Google Docs and sheets. An updating Heroku server caused the Google credentials to be invalidated.
Automatically sign in with 'guest_account' of [email protected]
https://google-api-example.herokuapp.com/guestSignIn.php
Explanations and links to Google doc and sheet used
https://google-api-example.herokuapp.com/index.html
Sign in with a "real" Google account that exists in the Google sheet of users
https://google-api-example.herokuapp.com/login.php
Sign in via URL
https://google-api-example.herokuapp.com/[email protected]
The locked but visible Google sheet https://docs.google.com/spreadsheets/d/1vhce-ziBi6wneqJrxd7Zhyqth8ZLHMJHot1wxgK_T7k/edit#gid=0 that is read and written to.
Sheet/Document/Email/Authorization Classes
php-google-api-example/Google_Api/
To install composer libraries
php-google-api-example/ composer install
To enable Google credentials
Copy google-sample files to google-account directory
To test
php-google-api-example/ php tests/call_tests.php
