ライブラリとサンプル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google API クライアント ライブラリは、多くの一般的なプログラミング言語で利用可能です。このライブラリを使用することで、Google サイト認証 API を簡単に使用できるようになります。
以下の表では、最初の列に各ライブラリの開発段階(一部はまだ開発の初期段階)とライブラリのドキュメントへのリンクを示します。2 列目には、各ライブラリの使用可能なサンプルへのリンクを示します。
これらの初期段階のライブラリも用意されています。
この API の注目のサンプル
多くの場合、API の使用方法を学ぶ最も簡単な方法は、サンプルコードを見ることです。上の表に、各言語の基本的なサンプルへのリンクを示します。このセクションでは、Google Site Verification API の特に興味深いサンプルを紹介します。
言語 |
注目のサンプル |
API のバージョン |
PHP |
- サイト認証 WordPress プラグイン
(ソース)
Google Site Verification API を使用してブログを認証する WordPress 用プラグイン。API 呼び出しを行うための PHP ライブラリの使用と、OAuth を使用した認証を示します。プラグインの ZIP ファイルには、サンプルコードとして使用できるコンパイルされていない難読化されていない PHP コードが含まれています。
このプラグインは、WordPress の法的要件に準拠するため、GPLv2 の下でライセンスされています。PHP クライアント ライブラリは、制限の少ない Apache 2.0 ライセンスの条件の下でダウンロードすることもできます。
|
1.0 |
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],[],[[["\u003cp\u003eGoogle API client libraries simplify the use of the Google Site Verification API and are available in various programming languages, including Java, JavaScript, .NET, Objective-C, PHP, and Python.\u003c/p\u003e\n"],["\u003cp\u003eSample code for the Google Site Verification API is readily available for multiple languages, aiding developers in understanding and utilizing the API effectively.\u003c/p\u003e\n"],["\u003cp\u003eThe libraries have varying stages of development, with some, such as Dart, Go, Node.js, and Ruby, being in early stages (alpha/beta).\u003c/p\u003e\n"],["\u003cp\u003eA featured sample showcasing the practical application of the Google Site Verification API is the Site Verification WordPress Plugin, demonstrating API calls, OAuth authentication, and the use of the PHP library.\u003c/p\u003e\n"]]],["Google API client libraries simplify the use of the Google Site Verification API across multiple programming languages. Documentation and sample code are provided for Java, JavaScript, .NET, Objective-C, PHP, and Python. Early-stage support includes Dart, Go, Node.js, and Ruby. Featured samples are available, including a WordPress plugin that demonstrates the PHP library and OAuth authentication for the API's version 1.0. Sample code allows users to see working examples.\n"],null,[]]