GooglespreadsheetphpclientAPI-php Tutorial

Source: Internet
Author: User
Tags oauth
Google spreadsheetphpclientapi recently closed the ClientLogin authentication method. as a result, the zend gdata api that has been used for a long time cannot work normally.

The zend updated the api in December May 20, but did not convert the ClientLogin method used for OAuth 2.0 verification recommended by Google.

So at least search for the google spreadsheet API on the internet. the damn google actually only has the java and. net API library based on OAuth verification.

This is big. do you need to study the spreadsheet API documentation and write your own php API? but the company's business cannot wait.

So I went to the google Forum to search. Fortunately, a good foreign buddy gave an address http://stackoverflow.com/questions/21470405/google-api-how-to-connect-to-receive-values-from-spreadsheet

Github is omnipotent indeed. someone has put spreadsheet php library above. Project address: https://github.com/asimlqt/php-google-spreadsheet-client

Then google OAuth php library. php is used to operate google spreadsheet.

There is an episode in the middle. it takes two minutes for the server to connect to google in the United States. after checking the code for half a day, no problem was found. with O & M, I found that the original IPV6 network was used. google's IPV6 routing seems to be faulty. as a result, each link takes more than two minutes. it's just a pitfall.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.