Implement Text Search Using Yelp API

Posted in API, Web Tagged , , ,

yelp-api

The Yelp API follows the OAuth method of authentication. Once you sign up for the developer account, you get the consumer key, consumer secret, token, token secret variables. These need to be passed to the Yelp API along with the search query and location details. The output is returned as a JSON string which can then be parsed to obtain the various details of search results. The API returns the rating number, rating stars data, detailed address of the place and the phone number. However if you are interested in reading more info about the place like reviews then they have a constraint to link back to the Yelp business page of the place.  This is a bit of a limitation if you want to display the data directly inside your application.