/quorastats

Lightweight public and private Quora stats tool.

Primary LanguagePythonOtherNOASSERTION

quorastats

A Pythonic Quora fetch tool, capable of printing out the following user stats without login:

Public Documentation 🔓

If content is private (i.e., hidden via account auth), you can use the following documentation to view these stats:

Private Documentation 🔒 (coming soon)

Getting Started

To download the module:

Pre-release

git clone https://www.github.com/VladUsatii/quorastats/
cd quorastats
pip -r install requirements.txt
# make your files relative to this directory

Post-release

python -m pip3 install quorastats

A Basic Program

This program allows users to view a live counter of their followers, updated every n seconds. Warning: Update should be kept high if possible, due to influx of users to Quora's network. They may also ban IP if too low (please use best judgement).

from Public import Public
import time

p = Public('real account')
p2 = Public('fdhjsafdu8saf09hds8af9hdsa')

# prints counts of a real account
while True:
  print(p.followercount(), p.followingcount())
  time.sleep(100)

# prints status of user page 1 and 2 (not a real account)
print(f'Account 1: {p.status}', f'Account 2: {p2.status}')

Contributions

Submit a pull request to get a feature added.