Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

New Yelp API Too Restrictive To Be Useful

YelpYelp recently launched some new developers tools, paving the way for programmers to build innovative mash-ups using data from its unique social networking service. But Yelp is also in danger of spoiling its own party by saddling potential developers with needless restrictions.

The site, which hosts reviews of restaurants and businesses written by users, has launched a new Application Programming Interface (API) that allows developers to query the site’s stored data and display Yelp reviews or ratings on their own sites.

The API features the ability to:

  • retrieve business review and rating information for a particular geographic region or location.
  • display review information for a particular business.
  • determine accurate neighborhood name information for a particular location.
  • track recent reviews for a particular business.
  • display pictures of highly rated local businesses and of the top reviewers for that business.
  • determine a particular business??? review and rating information based on the phone number for that business.

Theoretically, this new API allows developers to roll Yelp data into
their mash-ups. However, before you get too excited, consider the following restrictions:

You May Not:

  • Collect end-user ratings or reviews of local businesses on any website that uses the Yelp API or Yelp Content;
  • Aggregate Yelp Content alongside content from other sources (e.g., you will not create aggregate ratings combining ratings from Yelp and other sources);
  • Display Yelp Content on any web page or application page that includes local business reviews from another source.

I can see where Yelp wants to be the one and only source for reviews. But it seems like if Yelp is really as good as it thinks it is, it wouldn???t need to put limits on the competition. After all, Google’s Maps API, the Flickr API and dozens of other similar APIs contain no such restrictions.

Another drawback: the default format for returned data is JSON rather than the more standard XML. You can also request that Yelp return its response in ???pickle??? (serialized python) or PHP, but if you???re not down with those three languages you???re out of luck.

For more info, check out the Yelp developer site. Also be sure to have a look at the great little Google Maps-Yelp mash-up example for some ideas on how you can squeeze some use out of the new API, restrictions and all.

Perhaps at some point Yelp will come to its senses and remove the silly handcuffs on what is otherwise quite a nice little API.

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year