ほとんどのドキュメント ページでは、画面の右側に API Explorer の縮小版が表示されます。API Explorer が表示されていない場合は、[試してみる] をクリックして、API Explorer の縮小版を表示します。
リファレンス ドキュメント ページの右側に [試してみる] が表示されない場合、そのメソッドは API Explorer でサポートされていません。たとえば、API Explorer はサービス アカウントを必要とする API と互換性がないため、そのような API のドキュメント ページには表示されません。
API Explorer の展開バージョンを表示する
API Explorer の展開バージョンには、cURL、HTTP、その他のコードサンプルが含まれています。API Explorer の拡大版を表示するには、全画面表示アイコン fullscreen をクリックします。
メソッドを実行する
API Explorer では、API メソッドの必須パラメータ、省略可能なパラメータ、リクエスト本文(該当する場合)を入力できます。list メソッドなど、多くの REST メソッドでは、メソッドを実行する前に 1 つまたは 2 つのフィールドを入力するだけで済みます。たとえば、Books API の books.volumes.list メソッドは、書籍を一覧表示するためにクエリ パラメータ(q)のみを必要とします。books.volumes.list メソッドを試すには:
[[["わかりやすい","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"]],["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe APIs Explorer allows you to test API methods directly in the documentation by providing parameters and executing requests.\u003c/p\u003e\n"],["\u003cp\u003eTo use the APIs Explorer with methods requiring authorization, you need to generate and use your own credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe expanded APIs Explorer provides code samples in various formats like cURL and HTTP for easier integration.\u003c/p\u003e\n"],["\u003cp\u003eIf you encounter a 401 or 403 error, verify the authorization type and scope, as they are the most common causes.\u003c/p\u003e\n"],["\u003cp\u003eThe APIs Explorer uses popups for authorization, so ensure your browser settings allow them to function correctly.\u003c/p\u003e\n"]]],[],null,[]]