• <bdo id='qBkSZ'></bdo><ul id='qBkSZ'></ul>
    <i id='qBkSZ'><tr id='qBkSZ'><dt id='qBkSZ'><q id='qBkSZ'><span id='qBkSZ'><b id='qBkSZ'><form id='qBkSZ'><ins id='qBkSZ'></ins><ul id='qBkSZ'></ul><sub id='qBkSZ'></sub></form><legend id='qBkSZ'></legend><bdo id='qBkSZ'><pre id='qBkSZ'><center id='qBkSZ'></center></pre></bdo></b><th id='qBkSZ'></th></span></q></dt></tr></i><div id='qBkSZ'><tfoot id='qBkSZ'></tfoot><dl id='qBkSZ'><fieldset id='qBkSZ'></fieldset></dl></div>
    <tfoot id='qBkSZ'></tfoot>

      <small id='qBkSZ'></small><noframes id='qBkSZ'>

      <legend id='qBkSZ'><style id='qBkSZ'><dir id='qBkSZ'><q id='qBkSZ'></q></dir></style></legend>

    1. 如何在 PHP 中访问 Google 电子表格 API?

      时间:2023-07-14
      <i id='xTc9j'><tr id='xTc9j'><dt id='xTc9j'><q id='xTc9j'><span id='xTc9j'><b id='xTc9j'><form id='xTc9j'><ins id='xTc9j'></ins><ul id='xTc9j'></ul><sub id='xTc9j'></sub></form><legend id='xTc9j'></legend><bdo id='xTc9j'><pre id='xTc9j'><center id='xTc9j'></center></pre></bdo></b><th id='xTc9j'></th></span></q></dt></tr></i><div id='xTc9j'><tfoot id='xTc9j'></tfoot><dl id='xTc9j'><fieldset id='xTc9j'></fieldset></dl></div>
        <tbody id='xTc9j'></tbody>
      • <tfoot id='xTc9j'></tfoot>
      • <small id='xTc9j'></small><noframes id='xTc9j'>

        • <bdo id='xTc9j'></bdo><ul id='xTc9j'></ul>
            <legend id='xTc9j'><style id='xTc9j'><dir id='xTc9j'><q id='xTc9j'></q></dir></style></legend>

                本文介绍了如何在 PHP 中访问 Google 电子表格 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                从 Google Developer Google Spreadsheets API 上的文档开始,我发现许多客户端库以各种语言提供.",但 Google 仅提供 Java 和 .NET 的客户端库.对于 PHP 库,他们推荐使用 Zend GData.因此,我查看了 Zend GData 存储库,Zend 说他们的 GData 组件已停产,并且使用 适用于 PHP 的 Google API 客户端库.该库不适用于电子表格 API,因此您必须返回到我开始使用的原始页面.

                Starting with the Google Developer documentation on the Google Spreadsheets API, I found that "A number of client libraries are provided in various languages.", but Google only provides client libraries for Java and .NET. For a PHP library, they recommend using Zend GData. So, I headed over the the Zend GData repo, and Zend says that their GData component is discontinued, and to use Google APIs Client Library for PHP. That library doesn't work with the Spreadsheets API, for that you have to go back to the original page that I started with.

                所以,似乎每个人都在推卸责任.我只需要编写一些 PHP 代码来请求和处理来自 Google 电子表格的数据.我怎么做?请不要在没有检查以确保它们是 100% 最新的情况下将我链接到类似的帖子或页面,我几个小时以来一直在筛选一大堆帖子,这些帖子都充满了过时和弃用的依赖项.

                So, it seems like everyone's passing the buck. I just need to write some PHP code that requests and processes data from a Google Spreadsheet. How do I do that? Please don't link me to similar posts or pages without checking to be sure that they are 100% up to date, I've been sifting through a huge mess of posts for hours that are all full of outdated and deprecated dependencies.

                推荐答案

                您可以使用 PHP Google 电子表格客户端库.

                您需要使用 PHP 的 Google API 客户端库 作为以及通过 OAuth2 进行身份验证.开发者文档链接在 github 页面上.

                You'll need to use the Google APIs Client Library for PHP as well to authenticate via OAuth2. Developer documentation is linked on the github page.

                这篇关于如何在 PHP 中访问 Google 电子表格 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:我想在 php 中找到用户的当前位置 下一篇:通过 api 发布到 google plus

                相关文章

                • <bdo id='oZjfP'></bdo><ul id='oZjfP'></ul>

                1. <legend id='oZjfP'><style id='oZjfP'><dir id='oZjfP'><q id='oZjfP'></q></dir></style></legend>
                  <i id='oZjfP'><tr id='oZjfP'><dt id='oZjfP'><q id='oZjfP'><span id='oZjfP'><b id='oZjfP'><form id='oZjfP'><ins id='oZjfP'></ins><ul id='oZjfP'></ul><sub id='oZjfP'></sub></form><legend id='oZjfP'></legend><bdo id='oZjfP'><pre id='oZjfP'><center id='oZjfP'></center></pre></bdo></b><th id='oZjfP'></th></span></q></dt></tr></i><div id='oZjfP'><tfoot id='oZjfP'></tfoot><dl id='oZjfP'><fieldset id='oZjfP'></fieldset></dl></div>

                  <small id='oZjfP'></small><noframes id='oZjfP'>

                  <tfoot id='oZjfP'></tfoot>