Placeの結果
Placeの結果は、POI(施設情報)を表します。 名前、位置、住所、およびそのpointを特徴付けている機能を定義するカテゴリのリストを持つpointフィーチャー。 レストラン、 EV 充電スタンド、空港、スタジアムなど様々なPlaceがあります
HERE Geocoding and Search Place の結果resultType
は 、レスポンス要素の値place
を使用して特定できます。
サブタイプのフィールド categories
には 、そのPlaceのさまざまな機能を参照する ID のリストが含まれています。 レストランの結果については、サブタイプfoodTypes
にレストランが提供する料理の ID のリストが含まれています。
たとえば、 Glacier Vanille Noire ( マルセーユ ) の場合 :
{
"title": "Glacier Vanille Noire",
"id": "here:pds:place:250jx7ps-8f300d0f8ec60e31fb76a3d22f00f18f",
"resultType": "place",
"address": {
"label": "Glacier Vanille Noire, 13 Rue Caisserie, 13002 Marseille, France",
"countryCode": "FRA",
"countryName": "France",
"stateCode": "PAC",
"state": "Provence-Alpes-Cote d'Azur",
"county": "Bouches-du-Rhône",
"city": "Marseille",
"district": "2e Arrondissement",
"street": "Rue Caisserie",
"postalCode": "13002",
"houseNumber": "13"
},
"position": { "lat": 43.2972, "lng": 5.36871 },
"access": [{ "lat": 43.29723, "lng": 5.36868 }],
"categories": [
{ "id": "100-1000-0000", "name": "Restaurant", "primary": true },
{ "id": "300-3000-0000", "name": "Landmark-Attraction" },
{ "id": "600-6300-0064", "name": "Food/Beverage Specialty Store" },
{ "id": "600-6300-0364", "name": "Dairy Goods" },
{ "id": "700-7200-0253", "name": "Catering & Other Food Services" }
],
"foodTypes": [{ "id": "800-063", "name": "Ice Cream", "primary": true }],
"contacts": [{
"phone": [{ "value": "+33777336819" }],
"www": [{
"value": "http://www.vanillenoire.com",
"categories": [{ "id": "100-1000-0000" }, { "id": "300-3000-0000" }, { "id": "700-7200-0253" }]
}],
"email": [{
"value": "nicolas@vanillenoire.com",
"categories": [{ "id": "100-1000-0000" }, { "id": "300-3000-0000" }]
}]
}],
"openingHours": [{
"categories": [{ "id": "100-1000-0000" }, { "id": "300-3000-0000" }, { "id": "600-6300-0064" }],
"text": ["Mon-Sun: 13:00 - 19:00"],
"isOpen": true,
"structured":
[{ "start": "T130000", "duration": "PT06H00M", "recurrence": "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA,SU" }]}
],
"references": [
{ "supplier": { "id": "core" }, "id": "1149014863" },
{ "supplier": { "id": "tripadvisor" }, "id": "6596803" },
{ "supplier": { "id": "yelp" }, "id": "LNW8pvVArKkCYg_SM0WfXQ" }
]
}
Place の結果を返すエンドポイント : /discover
、 /autosuggest
、 /lookup
、 /browse
、/geocode
、/revgeocode