/browse Indonesian restaurants near HERE offices using HERE places cuisine
In the previous blog, we discussed how to use /browse endpoint in HERE Geocoding and Search API to search for EV charging stations from a specific location, using HERE places category. The categories for EV charging stations and EV battery swap stations are 700-7600-0322,700-7600-0325
respectively. It was a journey into the practical side of location-based data.
Today, we're taking a slightly different path, delving into the delightful world of cuisine with HERE's vast data. I've got a personal question to answer: Are there any Indonesian restaurants near HERE offices around the world? Let's explore the HERE Places Cuisine to satisfy my taste buds.
HERE Places Cuisine
HERE Places cuisine allows you to find places at a specific location that match a particular HERE Places cuisine category. The beauty of this is that it provides food enthusiasts like me with valuable information about the cuisines available in a given area. It's like having a culinary adventure at your fingertips.
/browse
endpoint allows you to retrieve places at a given position for a specific HERE Places category or HERE Places cuisine. HERE Geocoding and Search results of type place
expose in their foodTypes
field the available cuisine information when the item has one of the following level-3 HERE Places category:
- 100-1000-0000 (Restaurant)
- 100-1000-0001 (Casual Dining)
- 100-1000-0002 (Fine Dining)
- 100-1000-0003 (Take Out and Delivery Only)
- 100-1000-0004 (Food Market-Stall)
- 100-1000-0005 (Taqueria)
- 100-1000-0006 (Deli)
- 100-1000-0007 (Cafeteria)
- 100-1000-0008 (Bistro)
- 100-1000-0009 (Fast Food)
Food Type Format
Before we dive into the details, let's understand the structure of the HERE places food-type system. It's a simple and intuitive reference structure. Each regional grouping, whether it's North America, Asia, or elsewhere, contains various base food type categories (represented as xxx-000). For example, if you're craving Indonesian food, you'll find it under the base food type category (211-000).
Sample Request
So, how do you go about finding those Indonesian gems around your desired location? Here's a sample request:
https://browse.search.hereapi.com/v1/browse?
at=52.531003,13.385008&
categories=100-1000-0000&
foodTypes=211-000&
apiKey=<secret>
This request specifies a location, category (Restaurant), and cuisine (Indonesian) to discover Indonesian restaurants in the area.
Sample Response
The response you'll get is a mouthwatering list of Indonesian restaurants, complete with details that will make you want to book a table right away. Here's a taste of what it might look like:
{
"items": [
{
"title": "Daily Warteg",
"id": "here:pds:place:276u33db-3157642e63138e506bef70d031579471",
"language": "de",
"resultType": "place",
"address": {
"label": "Daily Warteg, Döberitzer Straße 1, 10557 Berlin, Deutschland",
"countryCode": "DEU",
"countryName": "Deutschland",
"stateCode": "BE",
"state": "Berlin",
"countyCode": "B",
"county": "Berlin",
"city": "Berlin",
"district": "Moabit",
"street": "Döberitzer Straße",
"postalCode": "10557",
"houseNumber": "1"
},
"position": {
"lat": 52.52964,
"lng": 13.36853
},
"access": [
{
"lat": 52.52953,
"lng": 13.36859
}
],
"distance": 1125,
"categories": [
{
"id": "100-1000-0000",
"name": "Restaurant",
"primary": true
}
],
"references": [
{
"supplier": {
"id": "tripadvisor"
},
"id": "24053662"
}
],
"foodTypes": [
{
"id": "211-000",
"name": "Indonesisch",
"primary": true
},
{
"id": "200-000",
"name": "Asiatisch"
},
{
"id": "257-000",
"name": "Singapurisch"
}
],
"contacts": [
{
"phone": [
{
"value": "+49491797274498"
}
],
"www": [
{
"value": "http://www.dailywarteg.com"
}
]
}
],
"openingHours": [
{
"text": [
"Mo-Fr: 11:30 - 19:00",
"Sa: 11:30 - 14:00"
],
"isOpen": false,
"structured": [
{
"start": "T113000",
"duration": "PT07H30M",
"recurrence": "FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR"
},
{
"start": "T113000",
"duration": "PT02H30M",
"recurrence": "FREQ:DAILY;BYDAY:SA"
}
]
}
],
"payment": {
"methods": [
{
"id": "mastercard",
"accepted": true
}
]
}
},
// ... more delicious Indonesian restaurants
]
}
The response not only tells you where to find these restaurants but also provides additional details like contact information, opening hours, and even payment methods accepted.
Sample Application
Hungry for some Indonesian cuisine near HERE offices? You can use the sample application, a modified version of 15-minute-city app, to search Indonesian restaurants near HERE offices.
So, if you're craving Indonesian flavors while you're near HERE offices worldwide, don't hesitate to explore this sample application.
Resources
- /Browse endpoint - HERE Geocoding and Search API
- HERE Places Cuisine System
- /Browse EV Charging Stations Blog
- Indonesian Restaurants near HERE Offices sample app
Have your say
Sign up for our newsletter
Why sign up:
- Latest offers and discounts
- Tailored content delivered weekly
- Exclusive events
- One click to unsubscribe