Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure if that is a feature that the Bing API supports. I couldn't find anything about looking up coordinates in the docs: https://docs.microsoft.com/en-us/azure/cognitive-services/bi....


Yeah their documentation is dreadful, but they could just append loc:countryCode to the query before making the API request: e.g. ‘attractions loc:dk’.. at least that works for me despite some people mentioning this filter is no longer supported.

Not sure how DDG and other search engines that rely on Bing does it, but it’s certainly possible without sharing the users’ IP with Microsoft.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: