Looker API は Looker インスタンスを管理するための安全で「RESTful」なアプリケーションプログラミングインターフェースで、Looker データプラットフォームを通じてデータをフェッチします。Looker API では、新しい Looker ユーザー アカウントのプロビジョニング、クエリの実行、データ配信のスケジュール設定などを行うアプリケーションまたは自動化スクリプトを記述できます。Looker API を介して Looker アプリケーションで実行できることがすべて実行可能です。
この実行手順は、SDK を使用しているかどうかによって異なります。詳細な手順については、Looker API の認証のドキュメント ページをご覧ください。
インタラクティブな API ドキュメント
API リファレンス ドキュメントについては、Looker Marketplace から API Explorer 拡張機能を入手できます。詳細については、API Explorer の使用のドキュメント ページをご覧ください。Looker 管理者は、Looker の API 管理ページにある [Use API Explorer] をクリックして API Explorer にアクセスすることもできます。
バージョニング
アプリケーションを構築する際は、API の安定性を考慮することが重要です。今後変更される場合のあるエンドポイントと、安定したままであるエンドポイントを把握できるように、特定のエンドポイントはベータ版としてマークされています。詳細については、Looker API のバージョニングのドキュメント ページをご覧ください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-12-22 UTC。"],[],[],null,["# Getting started with the Looker API\n\n| **Note:** As of Looker 22.4, the [Looker API 4.0 is generally available](/looker/docs/api-4-ga). In Looker 23.18, the [Looker API 3.1 has been removed](/looker/docs/api-3x-deprecation).\n\nThe Looker API is a secure, \"RESTful\" application programming interface for managing your Looker instance and fetching data through the Looker data platform. With the Looker API, you can write applications or automation scripts to provision new Looker user accounts, run queries, schedule data deliveries, etc. Just about anything you can do in the Looker application you can do via the Looker API.\n\nLooker API path and port\n------------------------\n\nAccess your Looker instance's API through its API URL.\n\nYour Looker admin can specify an API path by entering it in the [**API Host URL**](/looker/docs/admin-panel-platform-api#api_host_url) field on the **Admin \\\u003e API** page in the following format: \n\n https://\u003cinstance_name\u003e.cloud.looker.com\n\nYour Looker admin may also use the [**API Host URL**](/looker/docs/admin-panel-platform-api#api_host_url) field to assign an API path that is different from your Looker server machine name. This is common when your Looker installation is behind a load balancer, for example. In this case, contact your Looker admin for your API path.\n\nIf your Looker admin has not specified the **API Host URL** field, Looker uses the default API path. For Looker instances hosted on Google Cloud, Microsoft Azure, and instances hosted on Amazon Web Service (AWS) that were created on or after 07/07/2020, the default Looker API path uses port `443`. For Looker instances hosted on AWS that were created before 07/07/2020, the default Looker API path uses port `19999`. The default API URL is in the following format: \n\n https://\u003cinstance_name\u003e.cloud.looker.com:\u003cport\u003e\n\nClient SDKs\n-----------\n\nYou can use the Looker API with any programming language or application environment that can make HTTPS requests and process JSON responses. You can construct Looker API HTTPS requests manually by using curl (or equivalent), by using the Looker Ruby SDK, or by generating a client SDK library for your language of choice. We recommend using an SDK because it takes care of the details of authentication and HTTPS requests for you, so that you can call the Looker API using simple function calls.\n\nYou'll find SDK details on our [Looker API SDKs](/looker/docs/api-sdk) documentation page.\n\nAuthentication\n--------------\n\nLooker authenticates API requests by using an OAuth 2.0 bearer access token in the HTTP authorization header of the request. All Looker API endpoints require a secure HTTPS connection so that the access token will be secure in transit.\n\nThe steps for achieving this depend upon whether or not you are using an SDK. Detailed instructions can be found on our [Looker API authentication](/looker/docs/api-auth) documentation page.\n\nInteractive API documentation\n-----------------------------\n\nFor API reference documentation, the API Explorer extension is available from the [Looker Marketplace](/looker/docs/marketplace). For more information, see the [Using the API Explorer](/looker/docs/api-explorer) documentation page. If you are a Looker admin, you can also access the API Explorer by clicking the **Use API Explorer** link on Looker's [**API** Admin page](/looker/docs/admin-panel-platform-api).\n\nVersioning\n----------\n\nAPI stability is an important consideration when building applications. In order to help you understand which endpoints may be changed in the future, and which should remain stable, we mark certain endpoints as being in beta. For more details, see the [Looker API versioning](/looker/docs/api-versioning) documentation page."]]