Saturday, January 8, 2011

Quora API in alpha stage!



We wrote about the amazing real-time Q&A site Quora  before. The people at Quora have decided to release the Quora Extension API which helps developers to make extensions which work with Quora. This move come after the release of the Chrome and Firefox extensions for Quora. But the API is still in its alpha stages and has asked the Developers to be flexible to imbibe any changes in the future. Anyways this is a huge step forward for Quora which is growing a steady pace. Read below the actual excerpt regarding the API-


To support these extension-building efforts, we've released a json-based data API exposing information about the currently logged-in user at: http://api.quora.com/api/logged_... .

To request particular fields about the currently logged in user, add a 
fields
 query parameter with a comma-separated listed of desired fields.  Currently supported fields include 
inbox
, 
followers
, 
following
, and 
notifs
.  For example, to request inbox and notifications data, go to:

http://api.quora.com/api/logged_...

This call returns a json-encoded result about the user:
1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
while(1);
{
 "name": "Edmond Lau", 
 "link": "http://www.quora.com/Edmond-Lau/", 
 "inbox": 
    {"unread_count": 0}, 
 "notifs": {    
    "unseen_count": 1, 
    "unseen": ["<a href=\"http://www.quora.com/Lyle-Johnson\">Lyle Johnson</a> voted up your answer to <a href=\"What are some of the most useful extensions for Emacs?\">What are some of the most useful extensions for Emacs?</a>"],
    "unseen_aggregated_count": 1}
}


The API is still in its alpha phases, and there's no guarantee that as we evolve the site that we'll be able to maintain the same interface, as certain fields may no longer be relevant or have the same semantics.  We'll try our best to work with developers to ease any necessary migrations.


source:techcrunch

  • Stumble This Post
  • Save Tis Post To Delicious
  • Share On Reddit
  • Fave On Technorati
  • Tweet This Post
  • Digg This Post
  • Share On Facebook

No comments:

Post a Comment