已淘汰: Sites API 已淘汰,並可能隨時停止運作。Sites API 只能存取
傳統版協作平台網站。Sites API 無法存取於 2016 年 11 月 22 日推出的
重建的協作平台網站。
用戶端程式庫與程式碼範例
我們提供 Google Data 用戶端程式庫,協助您編寫使用 Sites Data API 的用戶端應用程式。
用戶端程式庫會提供每種語言的工具和抽象層,方便您建構查詢和
使用回應資料,而無須建立 HTTP 要求或手動處理 HTTP 回應。每個用戶端程式庫都提供
類別。程式庫也會提供
具備 Data API 的特定 Google 服務
用戶端程式庫不會連結至特定的 API 版本。用戶端程式庫提供了
的 API 版本,並且讓您指定要做為開發依據的版本。每個用戶端程式庫支援的 API 版本
。
用戶端程式庫
|
Latest Library |
用戶端程式庫支援的 API 版本 |
參考文件 |
資源 |
Java |
下載 |
1.4 版 |
Javadoc |
|
Python |
下載 |
1.4 版 |
PyDoc |
|
程式碼範例
這些範例程式示範如何使用 API 和用戶端程式庫。您可以從這些範例開始!
教學課程
這些文章可協助您快速上手、偵錯,或使用慣用語言搭配 Google Data API。
返回頁首
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-02 (世界標準時間)。
[null,null,["上次更新時間:2024-09-02 (世界標準時間)。"],[[["Google provides client libraries for Java and Python to simplify interaction with the Sites Data API, offering tools and abstraction for building queries and handling responses without manual HTTP request management."],["These client libraries are versatile, supporting multiple API versions (currently v1.4) and offering specific extensions for various Google services with Data APIs."],["Sample programs in Java and Python, along with a collection of tutorials, are readily available to guide developers in utilizing the API and client libraries effectively."]]],["Google Data client libraries aid in building applications for the Sites Data API. They offer tools and abstraction, simplifying query construction and response handling. Libraries support multiple API versions, including v1.4, without being tied to a specific version. Java and Python libraries are available, with sample code and resources such as getting started guides, project links (GitHub), and developer guides. Tutorials cover topics like Eclipse integration, Rails, gadgets, cURL, proxy servers, and debugging.\n"]]