This project contains two Python scripts for extracting GitHub profile data and contribution statistics.
- Github_Daily_Monthly_Script.py - Extracts daily and monthly contribution data using GraphQL API
- Github_Script.py - Extracts comprehensive profile data including repositories and commits
- Install dependencies:
pip install -r requirements.txt- Set your GitHub token as environment variable:
# Windows
set GITHUB_TOKEN=your_github_token_here
# Linux/Mac
export GITHUB_TOKEN=your_github_token_here- For the daily/monthly script, create
github_profile_urls.csvwith GitHub profile URLs
python Github_Daily_Monthly_Script.pypython Github_Script.py- Daily/Monthly script creates Excel files in
Daily_Monthly_Data/folder - Profile script creates Excel files in
TASK/folder
- Python 3.7+
- Valid GitHub Personal Access Token
- Internet connection for API calls