Knowledge API for Quora.
Provides access to various details of any question using simple REST API:
- Question:
- Title
- Details
- Topics
- Answers (Upto 6 top answers):
- Author
- Votes
- Rank
- Answer body
- Answer body (HTML)
Author: Karan Goel
$ pip install -r requirements.txt # install dependencies
$ python app.py # start the api
$ pip install -r requirements.txt # install dependencies
$ heroku create
$ heroku addons:add newrelic
$ (git add, git commit)
$ git push heroku master
Base URL: http://q.goel.im
Output: JSON
Example:
http://q.goel.im/url=https://www.quora.com/Google/What-are-the-changes-made-to-the-host-matching-phase-for-Google-Summer-Internships-from-2013-to-2014
Output:
{
"answers": [
{
"answer": "A2AThe process is the same as last summer (unless I missed an important memo!).Embed QuoteVia Elynn Lee.",
"answer_html": "A2A<br/><br/>The process is the same as last summer (unless I missed an important memo!).",
"author": {
"bio": "Google University Programs",
"name": "Jessica Safir"
},
"rank": 1,
"votes": "3"
},
{
"answer": "A2A.As far as I know, the process has not changed between last year and this year.Embed Quote",
"answer_html": "A2A.<br/><br/>As far as I know, the process has not changed between last year and this year.",
"author": {
"bio": "SDE Intern - Google Forms - Summer 2013 and 2014, 2013-2014 Google Student Ambassador for UT Austin",
"name": "Elynn Lee"
},
"rank": 2,
"votes": "3"
},
<==-------------- snip --------------==>
If Qnowledge has helped you in any way, and you'd like to help the developer, please consider donating.
- BTC: 19dLDL4ax7xRmMiGDAbkizh6WA6Yei2zP5
- Flattr: https://flattr.com/profile/thekarangoel
If you want to add any new features, or improve existing ones, feel free to send a pull request!