The Category search API does not return the phone numbers as specified in the documentation.
The API call: https://api.tomtom.com/search/2/categorySearch/hospital.JSON?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lat=xx.xx647&lon=xx.91026
I need phone numbers from the hospitals near the given latitude and longitude values.
I cannot upload images because I’m a new user. So if anyone wants to see the result images I can upload it somewhere else and share that link here.
szczepam
(Mateusz Szczepanczyk)
March 23, 2020, 12:04pm
#2
Hi.
I’ve tested it using the following call: https://api.tomtom.com/search/2/categorySearch/hospital.JSON?key=YOUR_API_KEY&lat=34.0510&lon=-118.2425 and I’ve got phone numbers, although not for every POI, so there is a possibility that we don’t have that data at the moment. It’s hard to tell without having the exact location.
Regards,
Mateusz
But i did not recieve for any hospitals in my area.
szczepam
(Mateusz Szczepanczyk)
March 23, 2020, 6:13pm
#4
That’s probably because we don’t have that data from your area. Like I wrote in the previous post - it’s hard to tell without having the exact location.
Regards,
Mateusz