Places Insights API に関するよくある質問
API にレート制限はありますか?
Places Insights API のデフォルトのレート上限は 1 分あたり 600 リクエストです。
TypeFilter の「included_primary_types」と「included_types」の違いは何ですか?
included_primary_types
: 指定したタイプがメイン カテゴリまたはプライマリ カテゴリである場所をフィルタします。これらの場所には、他の副次的なタイプも存在する場合があります。
included_types
: 指定したタイプがカテゴリのいずれかにある場所をフィルタします(主なタイプか副次的なタイプかにかかわらず)。
たとえば、restaurant
に設定された included_primary_types
を使用して検索すると、主な機能が食事の提供である場所が返されます。一方、restaurant
に設定された included_types
を使用すると、cafe
を含む museum
など、別のプライマリ カテゴリが設定されている場合でも、食事の提供場所が返されます。
詳しくは、場所の種類をご覧ください。
円以外のカスタム検索エリアを定義するにはどうすればよいですか?
カスタム検索エリアは、ポリゴンを使用して定義できます。単一のポリゴンの頂点を反時計回りの順序で定義する緯度と経度の座標のリストを指定します。ポリゴンを閉じるには、最初の座標と最後の座標が同じである必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-15 UTC。
[null,null,["最終更新日 2025-01-15 UTC。"],[[["The Places Insights API has a default rate limit of 600 queries per minute."],["`included_primary_types` filters for places with the specified type as their primary category, while `included_types` filters for places that include the specified type as any category."],["Custom search areas can be defined using polygons by providing latitude and longitude coordinates in a counter-clockwise order, ensuring the first and last coordinates are identical to close the shape."]]],[]]