Is there a way to show District using Places autosuggest entry point? - here-api

Im using the places v1 autosuggest entry point, with the following request
https://places.api.here.com/places/v1/autosuggest?app_id=APP_ID&app_code=APP_CODE&q=550+5e+avenue&at=45.44569010000001%2C-73.66412120000001&size=5&result_types=address%2Cplace&addressFilter=countryCode%3Dca
So basically Im searching within Canada for places and address. The address Im looking for is in Montreal however there are two districts with that address, Verdun, and Lachine, however in the response there is no way to differentiate them without visiting the href to go to the full places details. Is there a way to display the district so its possible to differentiate the results?

Notice that the endpoint of 'autosuggest' does not support this district field.
However the 'search' endpoint shows the district. YOu an use this one instead.
See: https://developer.here.com/documentation/places/topics_api/media-type-search.html

Related

Here maps Getting attractions / places aling route

I am using the Routing service to get the route between two points. I would like to return attractions or places along or near the route, if possible. I have searched but unable to find anything that looks like it does what I need.
You can use the browse end point for the same. This endpoint provides search results for places based on different filters, such as categories or name, ranked by distance from a given search center. The only mandatory elements exposed in the response are id and position. The other elements shown in the response samples section are only dataset attributes suggestions.
https://browse.search.hereapi.com/v1/browse
For more details please check below doc. https://developer.here.com/documentation/geocoding-search-api/dev_guide/index.html

What is the update frequency of the zipcode and addresses of Here in respect to the Netherlands (BAG / Kadaster)?

The dutch zip-codes and addresses are administered by a government agency called "kadaster".
They make this data available in something called the "BAG".
I would like to know how and how-quickly new zip-codes are available in the Here Location Service.
Is there a resource with more details on this?
Autocomplete API enables searching using free text address and provide zip-code and street details can come, when the address matches. Please refer example adds geocoding autocompletion to an HTML text box. Start typing in the text-box below to see the responses returned. Markers are also added to a map to show the suggested locations. Clicking on a map marker will move the map and display more information about the selected location.

Geogode street intersection with free-form input Geocoder API

I am trying to geocode a street interception through Here Geocoder API Forward Geocoding. However, with no success.
There is some example in the documentation:
https://developer.here.com/api-explorer/rest/geocoder/latitude-longitude-intersection
There is an obvious way to do what I want.However, there is a proxy endpoint, which I am not allowed to change and it accepts from client and passes to Here API only free form input.
I tried with the following string for my free form input value,it is the same as the documentation example:
State # Madison, Chicago
But got 0 results.
I just wonder if that is possible at all through Here Forward Geocoding-it seems difficult for implementation without some restriction to the free-form input format?Thanks in advance!
I got the result for street intersection with it, can you please try by using your appkey, id.
https://geocoder.api.here.com/6.2/geocode.json?city=Chicago&street=State%20and%20Madison&app_id=xxxx&app_code=xxxx&gen=9
if the search needs to be in free form, then below API call can work too, but here the search match level is based out of the city, not specific to street.
https://geocoder.api.here.com/6.2/geocode.json?searchtext=200%20S%20Mathilda%20Sunnyvale%20CA&app_id=xxxx&app_code=xxxx&gen=9

Is it possible to include businesses in the HERE Geocoder Autocomplete Search?

Use Case:
I've got a search box where the intention is to search for addresses, cities and businesses, and up to 5 matching locations will be returned. Then, I'll use the geocoder to get lat/lon coordinates for a selected location based upon locationId.
Desired Outcome: The geocoder autocomplete API works well for cities/states/addresses/etc., but I'd like for the results to include businesses as well (where a business result would come with a locationId). Is this going to be possible with the Here API? Using the Places segment of the API would be an option as well if there's a path forward along that route.
NO, Geocoder API helps to find only addresses based on housenumber, street, country ,county, pincode but it does not tell you if the address is of a business category.
You can try Places API and check if it works for your usecase. Read more at developer.here.com/documentation/places/topics/quick-start-find-text-string.html.
Below is an example of Hotel category(Business) in Sunny Vale, CA. You can get the id and location details here.
https://places.cit.api.here.com/places/v1/discover/explore?at=37.370831%2C-122.024636&cat=500-5000-0000&cs=pds&Accept-Language=en-US%2Cen%3Bq%3D0.5&app_id=xxxx&app_code=xxxx

Sabre developer api - how limited is the data in development? Am I using it wrong or is data THAT limited?

Im trying our different flight api's from sabre, I understand from reading the data Im getting back is limited in development but Im not sure if it really can be THAT limited or its me doing something wrong.
1: InstaFlights Search
First I use the citypairs lookup to show city pairs, then use them for the instasearch,
The problem is unlike I use NY or London (there were 2 other cities working fine), for almost ALL other cities, Im getting no response.
I know data is limited but since the citypairs api already returns VERY limited data, but is it really THAT limited? Feeling like I must be doing something wrong because I cannot image, that api to work (in dev) only for 3 cities on 3 different dates :-/
destination api
here I use first the supported cities api, then use results to use the multi airports api, then use that for destination api.
Again, same here, only 2/3 cities actually work. Since in the destination api, UNLIKE the instaflights api, the changes of 'matches' are higher as any destination could be shown for the picked origin. HERE AGAIN almost no results, BUT for about 3 cities.
If anyone who has some experience with sabre, could help out it would be great- just trying to figure out if its me whos using it wrong or no. Thanks!
Can you please provide the city pairs that seem to be failing for you? I just did a test of both APIs (InstaFlights and DestinationFinder) and was able to obtain results with the city pairs provided there. I changed the point of sale to FR and obtained PAR-ATH, and that worked. Also worked with ABE-MCO which is the first city pair I obtain when using POS US.
The testing environment for this API but you should be not limited to just three cities.

Resources