Mirror API で開発する場合は、公式のクライアント ライブラリを使用することをおすすめします。多くの言語に対応したクライアント ライブラリが用意されています。以下は、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 クライアント ライブラリ(v1/v2) | Python 用 Google API クライアント ライブラリ | Python のサンプル |
Ruby 用 Google API クライアント ライブラリ(アルファ版) | https://github.com/google/google-api-ruby-client | Ruby サンプル |