Mirror API での開発には、Google の公式クライアント ライブラリを使用することをおすすめします。さまざまな言語用のクライアント ライブラリが用意されています。Mirror API でテスト済みのクライアント ライブラリのリストは次のとおりです。
Mirror API でクライアント ライブラリを使用するには、ベース ライブラリと、Mirror API の使用方法をベース ライブラリに指示する特別な生成コンポーネントが必要です。
以下の表の最初の列は、各ライブラリの開発段階を示しています(一部はまだ開発の初期段階です)。2 列目は各ライブラリのメインページへのリンクです。
ライブラリに Google Mirror API のサンプルがある場合は、下の表の 3 列目から直接サンプルにアクセスできます。ライブラリのサンプルページにこの API のサンプルがまだない場合でも、そのライブラリを使用できます。既存のサンプルを必要に応じて変更してください。
クライアント ライブラリ | ドキュメント | すべてのクライアント ライブラリのサンプル |
---|---|---|
.NET 用 Google API クライアント ライブラリ | http://www.nuget.org/packages/Google.Apis/ | .NET サンプル |
Dart 用 Google API クライアント ライブラリ(ベータ版) | https://pub.dartlang.org/packages/googleapis | Dart サンプル |
Go 用 Google API クライアント ライブラリ(アルファ版) | https://github.com/google/google-api-go-client | Go サンプル |
Java 用 Google API クライアント ライブラリ | https://developers.google.com/api-client-library/java/ | Java サンプル |
JavaScript 用 Google API クライアント ライブラリ | https://code.google.com/p/google-api-javascript-client/ | JavaScript サンプル |
Objective-C for REST 用 Google API クライアント ライブラリ | https://github.com/google/google-api-objectivec-client-for-rest | Objective-C サンプル |
PHP () の Google API クライアント ライブラリ | https://github.com/google/google-api-php-client | PHP サンプル |
Python 用 Google API クライアント ライブラリ | Python 用の Google API クライアント ライブラリ | Python のサンプル |
Ruby 用 Google API クライアント ライブラリ(アルファ版) | https://github.com/google/google-api-ruby-client | Ruby サンプル |