非推奨: Sites API は非推奨となっており、いつでも動作しなくなる可能性があります。Google サイト API は
以前の Google サイトにのみアクセスできます。Google サイト API からは、2016 年 11 月 22 日にリリースされた
サイトの再構築版にアクセスできません。
クライアント ライブラリとサンプルコード
Google Data クライアント ライブラリは、Sites Data API を使用するクライアント アプリケーションの作成に役立ちます。
言語ごとにクライアント ライブラリにはツールと抽象化レイヤが用意されており、
HTTP リクエストの作成や HTTP レスポンスの処理を手動で行うことなく、レスポンス データを使用できます。各クライアント ライブラリには、
API が使用する要素とデータ型に対応するクラスです。ライブラリでは、
Data API を備えた特定の Google サービスに接続します。
クライアント ライブラリは特定のバージョンの API に関連付けられていません。クライアント ライブラリでは、
API の複数のバージョンを作成し、開発するバージョンを指定できます。各クライアント ライブラリでサポートされている API バージョン
以下の表を参照してください。
クライアント ライブラリ
サンプルコード
次のサンプル プログラムは、API とクライアント ライブラリの使用方法を示しています。これらの例をプログラミングの参考としてぜひご活用ください。
- Java
<ph type="x-smartling-placeholder">
- Python
<ph type="x-smartling-placeholder">
- その他
<ph type="x-smartling-placeholder">
チュートリアル
Google Data API の迅速な起動と実行、問題のデバッグ、お好きな言語の使用に役立つ記事をご紹介します。
トップへ戻る
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-02 UTC。
[null,null,["最終更新日 2024-09-02 UTC。"],[[["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"]]