A Java application for analyzing GitHub user activity. This project uses the JSON-simple library to parse JSON data retrieved from GitHub's API.
This application is part of the roadmap.sh backend roadmap project. It demonstrates how to fetch and process GitHub user data.
- 🔍 Fetches GitHub user data using the GitHub API.
- 🗂️ Parses JSON responses with the
JSON-simplelibrary. - 🖥️ Provides user-friendly output summarizing GitHub activity.
-
Clone the Repository:
git clone https://github.com/shubd-dev/github-user-activity.git cd github-user-activity -
Run the Application:
- 🖨️ Compile the source code:
javac -cp lib/json-simple.jar src/*.java ▶️ Execute the program:java -cp lib/json-simple.jar:src Main
- 🖨️ Compile the source code:
-
Provide a GitHub Username:
- 📝 Enter a GitHub username when prompted.
- 📊 View the summarized GitHub activity in the output.
- ☕ Java Development Kit (JDK) 11 or higher.
- 📦 JSON-simple library (already included in the
libfolder).
Enter GitHub username: shubd-dev
Fetching data...
GitHub User: shubd-dev
Feel free to fork this repository, submit pull requests, or raise issues for suggestions and improvements.
This project is open-source and available under the MIT License.
- 📘 JSON-simple for JSON parsing.
- 🌐 GitHub API for user data retrieval.
- 🛠️ roadmap.sh for the backend developer roadmap.