Find restaurants like Balthazar in New York (location via query string)
Get a list of recommendations based on an entity and filtered to a particular location.
This example produces recommendations for restaurants in NYC similar to Balthazar.
In this Recipe
- Set up request options
- Send the request
- Handle the response
Open Recipe
const options = {
method: 'GET',
headers: {'X-Api-Key': '<<apiKey>>'}
};
fetch("https://api.qloo.com/v2/insights/?filter.type=urn:entity:place&signal.interests.entities=FCE8B172-4795-43E4-B222-3B550DC05FD9&filter.location.query=New%20York", requestOptions)
.then((response) => response.json())
.then((result) => console.log(result))
.catch((error) => console.error(error));Get a list of recommendations based on an entity and filtered to a particular location.
This example produces recommendations for restaurants in NYC similar to Balthazar.
3 steps
Open Recipe
Get a list of restaurant recommendations similar to Balthazar, filtered to a specific latitude/longitude point in New York City.
3 steps
Open Recipe
Generate heatmap data using a WKT Point.
This example shows the concentration of affinity for the brand Muji in NYC.
3 steps
Open Recipe
Find brunch restaurants in New York with vegan options and wheelchair access (location via query string, filter with tags)
Get a filtered list of recommendations based on a location.
This example retrieves location-based Insights for restaurants in NYC that are vegan, serve brunch, and have a wheelchair accessible entrance.
3 steps
Open Recipe
This example returns brands with a high affinity score in the Paris center, with the location based on the provided WKT shape.
3 steps
Open Recipe
See the affinity score for demographic data related to an actor and a specific tag.
3 steps
Open Recipe