客户端库
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
警告:本页面介绍的是 Google 的旧版 API,即 Google 数据 API;它仅与 Google 数据 API 目录中列出的许多 API 相关,其中许多 API 已替换为较新的 API。如需了解特定新 API,请参阅新 API 的文档。如需了解如何使用较新的 API 向请求授权,请参阅 Google 帐号身份验证和授权。
Google 数据 API 客户端库可帮助您编写用于访问您喜爱的 API 的客户端应用。
对于每种语言,客户端库都提供了各种工具和一个提取层,允许您构造查询和使用响应数据,而不必创建 HTTP 请求或手动处理 HTTP 响应。每个客户端库提供的类与 API 使用的元素和数据类型相对应。
如需详细了解如何使用客户端库,请访问 API 目录,然后点击进入特定 API 的文档。
Google 提供的客户端库
以下客户端库由 Google 编写和提供支持。大多数代码托管在 Google 代码上,因此您可以查看开源代码(通过 RecyclerView)、浏览功能请求、查看常见问题解答和提交错误报告。
外部客户端库
以下客户端库不是 Google 编写的,并且不受 Google 支持。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-03-01。
[null,null,["最后更新时间 (UTC):2023-03-01。"],[[["\u003cp\u003eThis page focuses on Google's older Google Data APIs, many of which have been superseded by newer APIs.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries in various programming languages (Java, JavaScript, .NET, PHP, Python, Objective-C) to simplify interaction with these APIs.\u003c/p\u003e\n"],["\u003cp\u003eThese client libraries offer tools and abstractions to handle queries and responses, eliminating the need for manual HTTP request management.\u003c/p\u003e\n"],["\u003cp\u003eLinks to downloads, documentation, and Google Code projects (where applicable) are provided for each client library.\u003c/p\u003e\n"],["\u003cp\u003eExternal, community-supported client libraries also exist, such as the Force.com Toolkit for Salesforce.com developers.\u003c/p\u003e\n"]]],[],null,["# Client Libraries\n\n**Warning** : This page is about Google's older APIs, the Google Data APIs; it's relevant only to the APIs that are listed in the [Google Data APIs directory](/gdata/docs/directory), many of which have been replaced with newer APIs. For information about a specific new API, see the new API's documentation. For information about authorizing requests with a newer API, see [Google Accounts Authentication and Authorization](/accounts).\n\nGoogle Data APIs client libraries are available to help you write client applications that access your favorite API.\n\nFor each language, the client library provides tools and an abstraction layer, letting you construct queries and use response data without having to create HTTP requests or process HTTP responses by hand. Each client library provides classes that correspond to the elements and data types that the API uses.\n\nFor more information on how to use the client libraries, visit the [API Directory](/gdata/docs/directory) and click through to the documentation for a specific API.\n\n### Client Libraries Provided by Google\n\nThe following client libraries are written and supported by Google. Most are hosted on Google Code, so you can view the open-source code (via svn), browse feature requests, view FAQ's, and file bug reports.\n\n| | Google Code Project | Library Download | Reference Docs |\n|-----------------|------------------------------------------------------------------------------|-------------------------------------------------------------------------|---------------------------------------------------------------------|\n| **Java** | [gdata-java-client](http://code.google.com/p/gdata-java-client/) | [Download](http://code.google.com/p/gdata-java-client/downloads/list) | [Javadoc](/gdata/javadoc) |\n| **JavaScript** | [gdata-javascript-client](http://code.google.com/p/gdata-javascript-client/) | | [JSDoc](/gdata/jsdoc/2.2) |\n| **.NET** | [google-gdata](http://code.google.com/p/google-gdata/) | [Download](http://code.google.com/p/google-gdata/downloads/list) | |\n| **PHP** | Distributed as part of [zend](http://www.zend.com/en/). | | [PHPDoc](https://framework.zend.com/manual/1.12/en/zend.gdata.html) |\n| **Python** | [gdata-python-client](http://code.google.com/p/gdata-python-client/) | [Download](http://code.google.com/p/gdata-python-client/downloads/list) | [PyDoc](https://pythonhosted.org/gdata/index.html) |\n| **Objective-C** | [gdata-objectivec-client](http://code.google.com/p/gdata-objectivec-client/) | [Download](//code.google.com/p/gdata-objectivec-client/downloads/list) | |\n\n### External Client Libraries\n\nThe following client libraries are not written by Google and are not supported by Google.\n\n- [Force.com Toolkit for Google Data APIs](http://wiki.apexdevnet.com/index.php/Google_Data_API_Toolkit) - Apex client library for Salesforce.com developers."]]