The Category search API does not return the phone numbers as specified in the documentation.
The API call:
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.
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.
But i did not recieve for any hospitals in my area.
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.