Looking up for pizza delivery establishments
With these location-based services, not only can we get directions, but we can also look up establishments that are within our area. There are several services that are available for looking up restaurants, stores, and food delivery establishments; some of these include Yelp and Yahoo Local Search.
In our example, we will use the Yahoo Local Search API, which also has support for returning results in the JSON format. We will also follow the same technique as we did for getting directions. We must refer to the Yahoo Local Search Web Services API for the parameters and format of the URL request. You can check out the documentation in the following URL:
http://developer.yahoo.com/search/local/V3/localSearch.html
Based on the documentation, we need to pass the following parameters to successfully get a result:
Parameter |
Description |
Value |
---|---|---|
|
This is the application ID. You can register to get your own at http://developer.yahoo.com/wsregapp... |