An Unofficial REST API for Quora
This is an attempt to revamp an older version of the unofficial API originally built by Christopher.
$ git clone https://github.com/kalbhor/Unofficial-Quora-API
$ cd Unofficial-Quora-API
$ pip install -r requirements.txt
$ python server.py
Gets user information and urls related to user.
{
"count": {
"answers": "13",
"edits": "224",
"followers": "70",
"following": "112",
"posts": "0",
"questions": "17"
},
"url": {
"activity": "https://www.quora.com/profile/Lakshay-Kalbhor/activity",
"answers": "https://www.quora.com/profile/Lakshay-Kalbhor",
"edits": "https://www.quora.com/profile/Lakshay-Kalbhor/log",
"followers": "https://www.quora.com/profile/Lakshay-Kalbhor/followers",
"following": "https://www.quora.com/profile/Lakshay-Kalbhor/following",
"posts": "https://www.quora.com/profile/Lakshay-Kalbhor/all_posts",
"questions": "https://www.quora.com/profile/Lakshay-Kalbhor/questions"
}
}
Gets recent questions asked by user and their urls.
{
"count": "17",
"page": "https://www.quora.com/profile/Lakshay-Kalbhor/questions",
"recent": [
"How do North Koreans participate in online coding competitions?",
"How do I use CLRS to practice problems on SPOJ/Codeforces?",
"How should I learn to play the ukulele if I'm left handed?"
],
"url": [
"https://www.quora.com/unanswered/How-do-North-Koreans-participate-in-online-coding-competitions",
"https://www.quora.com/How-do-I-use-CLRS-to-practice-problems-on-SPOJ-Codeforces",
"https://www.quora.com/How-should-I-learn-to-play-the-ukulele-if-Im-left-handed"
]
}
Gets recent answers by user and their urls.
{
"count": "13",
"page": "https://www.quora.com/profile/Lakshay-Kalbhor",
"recent": [
"What are the pros and cons of living in your city?",
"How should I begin learning Python?",
"Can I run selenium in background?",
"What are the best Python scripts you've ever written?",
"How do I scrape Flipkart or Amazon product reviews using code/API?"
],
"upvotes": [],
"url": [
"https://www.quora.com/What-are-the-pros-and-cons-of-living-in-your-city",
"https://www.quora.com/How-should-I-begin-learning-Python?no_redirect=1",
"https://www.quora.com/Can-I-run-selenium-in-background",
"https://www.quora.com/What-are-the-best-Python-scripts-youve-ever-written",
"https://www.quora.com/How-do-I-scrape-Flipkart-or-Amazon-product-reviews-using-code-API"
]
}
Gets recent blog posts by users and their urls.
{
"count": "0",
"page": "https://www.quora.com/profile/Lakshay-Kalbhor/all_posts",
"recent": [],
"upvotes": [],
"url": []
}
Gets information on the user's followers.
{
"count": "70",
"url": "https://www.quora.com/profile/Lakshay-Kalbhor/followers"
}
Gets information on the user's followed by the user.
{
"count": "112",
"url": "https://www.quora.com/profile/Lakshay-Kalbhor/following"
}
Found an issue? Post it in the issue tracker.
Want to add another awesome feature? Fork this repository and add your feature, then send a pull request.
The MIT License (MIT) Copyright (c) 2017 Lakshay Kalbhor