GOOGLE spreadsheet PHP Client API

Source: Internet
Author: User
Tags oauth
Recently because Google closed the Clientlogin authentication method. The Zend Gdata API that has been used previously has not worked properly.

Damn it, Zend. May 20 updated API but did not convert the Google recommended OAuth 2.0 authentication still use the Clientlogin way.

So at least search the internet for Google Spreadsheet API. Damn Google just out of Java and. NET based on OAuth Authentication API library.

It's a big drop. Do you want to study spreadsheet's API documentation and then write your own PHP API. But the company's business cannot wait.

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

GitHub is everything. The spreadsheet PHP Library was released earlier. Project Address: Https://github.com/asimlqt/php-google-spreadsheet-client

Then combine the Google OAuth PHP library. PHP Operation Google Spreadsheet is completely OK.

There's an episode in the middle. It always takes 2 minutes for the server to connect to Google's servers in the United States. Check for a half-day code did not find the problem, with the operation of a check to know that the original walk is IPV6 network. and Google's IPV6 's routing seems to be out of the question. It will take more than 2 minutes for each link. It's a pit-daddy.

  • 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.