Earlier this week Yahoo announced the release of a new version of its Yahoo Local Search API. This new release adds some interesting functionality: it allows developers to issue queries to the API based on a route.
According to Yahoo:
We are releasing a new version of the Yahoo! Local API (V3), that gives developers a key new feature – the ability to search for convenient points of interest for a given user defined route. For example, as you are driving from San Francisco to Sacramento, you could search for a Starbucks or for a hardware store.
The RESTful API now includes a “route” parameter that is a series of latitude/longitude coordinates, with the first pair of coordinates as the starting point and the last pair of coordinates as the ending point. A string sent as the route paramater would be structured as follows:
lat1 long1,lat2 long2,...,latn longn
This is the first API to add route-based search functionality, and it certainly enhances developer's ability to improve local search results for a variety of mashups and applications that use Yahoo! Local Search.
Our Yahoo! Local Search API profile includes additional information on the API and lists several mashups that use this API, including Ski Bonk and Boston T Subway Map. Additional documentation on the API is available on the Yahoo Developer Network.
We're excited to see some route-based mashups emerge in the near future.