用戶端程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
警告:本頁面說明 Google 的舊版 API (即 Google Data API);該 API 只與 Google Data API 目錄中列出的 API 相關,其中許多 API 已由新版 API 取代。如需特定新的 API 的相關資訊,請參閱新 API 的說明文件。如要瞭解如何使用新版 API 授權要求,請參閱 Google 帳戶驗證與授權。
Google Data API 用戶端程式庫可協助您撰寫用戶端應用程式,讓您使用您喜愛的 API。
用戶端程式庫會提供每種語言的工具和抽象層,讓您建構查詢及使用回應資料,而無須建立 HTTP 要求或手動處理 HTTP 回應。每個用戶端程式庫都會根據 API 使用的元素和資料類型,提供相應的類別。
如要進一步瞭解如何使用用戶端程式庫,請前往 API 目錄,然後點閱特定 API 的說明文件。
Google 提供的用戶端程式庫
下列用戶端程式庫是由 Google 撰寫及提供支援。而且大部分程式碼都是由 Google 程式碼代管,因此您可以查看開放原始碼 (透過 svn)、瀏覽功能要求、查看常見問題,以及提交錯誤報告。
外部用戶端程式庫
下列用戶端程式庫不是由 Google 所編寫,Google 也不支援此程式庫。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-03-01 (世界標準時間)。
[null,null,["上次更新時間: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."]]