You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromquoraimportUseruser=User('Christopher-J-Su')
# Get user activityactivity=user.activity# Do stuff with the parsed activity dataprintactivity# Get user statisticsstats=user.stats# Take a ganderprintstats
fromquoraimportQuora# The function can be called in any of the following ways.answer=Quora.get_one_answer('https://qr.ae/6hARL')
answer=Quora.get_one_answer('6hARL')
answer=Quora.get_one_answer(question, author) # question and answer are variables# answer is:# {# 'want_answers': 8, # 'views': 197, # 'author': u'Mayur-P-R-Rohith', # 'question_link': u'https://www.quora.com/Does-Quora-similar-question-search-when-posing-a-new-question-work-better-than-the-search-box-ove', # 'comment_count': 1, # 'answer': '...', # 'upvote_count': 5# }# Get the latest answers from a questionlatest_answers=Quora.get_latest_answers('what-is-python')
Features
Currently implemented
User statistics
User activity
Question statistics
Answer statistics
To do
Detailed user information (followers, following, etc.; not just statistics)
Contribute
Check out the issues on GitHub and/or make a pull request to contribute!