Yahoo Extends Answers To The API
Web developers can get to the question and answer site, Yahoo Answers, through an application programming interface recently made available on the Yahoo Developer Network.
Yahoo Answers now offers the developers among its 14.3 million users the opportunity to craft applications built on data from the popular service. The new API provides access to the data in a number of ways.
A post on the Yahoo Search Blog by Quy Le, Product Manager, Yahoo! Answers, noted some potential uses for the API:
Web services available through use of the API fall into four areas, as shown on the Developer Network:
questionSearch – Find questions that match your query.
getByCategory – List questions from one of our hundreds of categories, filtered by type. You’ll need the category name or ID, which you can get from questionSearch.
getQuestion – Found an interesting question? getQuestion lists all the details for every answer to the question ID you specify, including the best answer, if it’s been chosen. Get that question ID from questionSearch or getByCategory.
getByUser – List questions from specific users on Yahoo! Answers. You’ll need the user id, which you can get from any of the other services listed above.
The release of the API follows Yahoo’s release of a Flash Answers badge back in June. That badge provides an easy way for bloggers and site publishers to show off their latest contributions to Yahoo Answers.
David Utter is a staff writer for WebProNews covering technology and business.