Giter Club home page Giter Club logo

getopenprs's Introduction

Open Pull Requests Fetcher for Starred Repositories

Introduction

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.

Table of Contents

Installation

Ensure Python is installed on your system. If not, you can download it from python.org.

  1. Clone or download this script to your local machine.
  2. Open a terminal and navigate to the script's directory.
  3. Install the required Python packages:
pip install requests

Usage

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.

Features

  • Retrieves open pull requests from the user's starred GitHub repositories.
  • Uses GitHub API with proper authentication.
  • Easy to use with minimal configuration.

Dependencies

  • Python 3.x
  • requests library

Configuration

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.

Examples

To see the script in action, simply run it after setting up your GitHub token. No additional arguments are required.

Troubleshooting

  • Missing GITHUB_TOKEN: Ensure the GITHUB_TOKEN environment variable is correctly set as detailed in the Configuration section.

License

This script is provided under the MIT License. See the LICENSE file for more details.

getopenprs's People

Contributors

dlmcglade avatar

Stargazers

 avatar

Watchers

 avatar

getopenprs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.