Place Search
Places API を使用すると、施設、著名なスポット、地理的位置など、さまざまなカテゴリを使用して場所情報を検索できます。場所は、近接性またはテキスト文字列で検索できます。Place Search は、場所のリストと各場所の概要情報を返します。Place Details クエリを使用して追加情報を取得できます。
検索タイプの比較
使用できる検索エンドポイントは 3 つあり、それぞれ特性が異なります。次の表に、これらの違いの一部を示します。
フィールドの選択
Nearby Search や Text Search で、特定のフィールドのみを返すように制限することはできません。不要なデータがリクエストされて課金されるのを防ぐには、代わりに Find Place リクエストを使用します。
不明確なテキスト
Find Place と Text Search は、複数のフィールドにわたるあいまいなテキストの照合に最適化されていますが、Nearby Search はフィールドのサブセットでの厳密な一致に制限されています。
他のフィルタ
Nearby Search と Text Search では、追加のパラメータ(minprice
、maxprice
、opennow
、type
など)を使用して結果をフィルタできます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["The Places API allows you to search for places using categories like establishments, points of interest, and geographic locations by proximity or text string."],["You can utilize the Places API with various platforms, including JavaScript, Web Service, and client libraries for server-side applications."],["For client-side development, consider the Places SDK for Android, iOS, and the Places Library for the Maps JavaScript API."],["Three search endpoints are available: Find Place, Nearby Search, and Text Search, each with unique characteristics like field selection and ambiguous text handling."],["Nearby Search and Text Search offer additional filters such as `minprice`, `maxprice`, `opennow`, and `type` to refine results."]]],[]]