Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.31 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.31 KB

Python & StackExchange API

Something whipped up quickly that does nothing but gather and show data from the StackExchange API

💻 Dependencies

  • StackAPI - A Python wrapper for the StackExchange API

🔧 Setup

Clone this repo.

git clone git@github.com:sframe/python-stackexchange-api.git
cd python-stackexchange-api

🔰 Considerations for New Python Users

Use a Python version manager, e.g.pyenv

pyenv install 3.11.2

Use Python's built in venv to keep module installations clean and isolated to this project.

python -m venv .venv

Installing is not enough! source should be run for every new session.

source .venv/bin/activate

🔩 Install Dependencies

Don't pollute your global python installation with project dependencies. See Considerations for New Python Users

pip install -r requirements.txt

✨ Usage

python -m examples.comments
python -m examples.questions
python -m examples.users