News for hackers. Stuff that matters.
Re:Plant trees while you search the web by thekyle on Thursday July 11, 2019 @07:17PM (#20416772)
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....
Re:Plant trees while you search the web by danskeren on Friday July 12, 2019 @03:37AM (#20418963)
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.