Small collection of scripts that call public APIs (GitHub, Hacker News, Weatherstack) and optionally visualize results with Plotly.
hn_submissions.py— prints top Hacker News submissions with comment counts.active_discussions.py— visualizes top HN stories by comment count.python_repos.py— prints popular Python repos from GitHub Search API.python_repos_visual.py— visualizes most‑starred Python repos.other_languages2.py— prints popular C repos from GitHub Search API.weather_api.py— compares temperatures across locations using Weatherstack.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtpython hn_submissions.py
python active_discussions.py
python python_repos.py
python python_repos_visual.py
python other_languages2.py
python weather_api.pyweather_api.pyrequires a Weatherstack API key. Replaceapi_keyvalue with your own key that you can get at the official website.- Plotly opens a browser window for charts.