This Python script retrieves open pull requests for repositories you have starred on GitHub. It's designed to help developers keep track of contributions and updates in projects they are interested in.
- Introduction
- Installation
- Usage
- Features
- Dependencies
- Configuration
- Examples
- Troubleshooting
- Contributors
- License
Ensure Python is installed on your system. If not, you can download it from python.org.
- Clone or download this script to your local machine.
- Open a terminal and navigate to the script's directory.
- Install the required Python packages:
pip install requests
Before running the script, make sure your GITHUB_TOKEN
environment variable is set, as it's needed to authenticate with the GitHub API and access your starred repositories.
To run the script:
python getOpenPRs.py
This command will fetch and display open pull requests for your starred repositories.
- Retrieves open pull requests from the user's starred GitHub repositories.
- Uses GitHub API with proper authentication.
- Easy to use with minimal configuration.
- Python 3.x
requests
library
To use this script, you must have a personal GitHub token set as an environment variable:
export GITHUB_TOKEN='your_github_token_here'
This token is necessary for the script to authenticate with GitHub and retrieve information about your starred repositories.
To see the script in action, simply run it after setting up your GitHub token. No additional arguments are required.
- Missing GITHUB_TOKEN: Ensure the
GITHUB_TOKEN
environment variable is correctly set as detailed in the Configuration section.
This script is provided under the MIT License. See the LICENSE file for more details.