Places Search API Call

Here is summary of how to call Places search API of Bing, Google and Here Map.

Here is little known among most developers, specially developers of India, but it is a good API and there map is also very good. Their map have internal maps (floor layout) of many buildings.

Here Maps API Call

Below is the latest v7 API, all other APIs are obsolete
———————————-

Method:
GET

Request:
https://browse.search.hereapi.com/v1/browse

Parameters
apiKey: ********************************************************
limit : 100
in : circle: 22.572645,88.363892;r=1609
at : 22.572645,88.363892
categories : 100-1100

Example Request:
https://browse.search.hereapi.com/v1/browse?apiKey=*****************************************************&limit=100&in=circle: 22.572645,88.363892;r=1609&at=22.572645,88.363892&categories=100-1100

List of Location Types
https://developer.here.com/documentation/geocodingsearchapi/dev_guide/topicsplaces/placescategorysystemfull.html

 


Bing Map API Call

———————————–

Method:  
GET

Request URL:
https://dev.virtualearth.net/REST/v1/LocalSearch

Parameters
userCircularMapView : 22.572645,88.363892,1609
key : *******************************************************************
type : EatDrink
maxResults : 25

Example Request: 
https://dev.virtualearth.net/REST/v1/LocalSearch/?userCircularMapView=22.572645,88.363892,1609&key=*******************************************************************&type=EatDrink&maxResults=25

List of Location Types – each has sub-types also 
https://docs.microsoft.com/enus/bingmaps/restservices/commonparametersandtypes/typeidentifiers/?toc=https%3A%2F%2Fdocs.microsoft.com%2Fenus%2Fbingmaps%2Frestservices%2Ftoc.json&bc=https%3A%2F%2Fdocs.microsoft.com%2Fenus%2FBingMaps%2Fbreadcrumb%2Ftoc.json

 


Google API Call

———————————

Method:
GET

Request:
https://maps.googleapis.com/maps/api/place/nearbysearch/json

Parameters
location : 22.572645,88.363892
radius : 1609
key : *******************************************************************
type : restaurant

Example Request:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=22.572645,88.363892&radius=1609&key=*******************************************************************&type=restaurant

List of Location Types
https://developers.google.com/maps/documentation/places/webservice/supported_types

 


 

Leave a Reply