Path: blob/master/GitHub/GitHub_List_all_pull_requests.ipynb
2973 views
Kernel: Python 3
GitHub - List all pull requests
Tags: #github #pygithub #repo #api #python
Author: Florent Ravenel
Last update: 2023-04-12 (Created: 2023-03-09)
Description: This notebook list all pull requests from a repository name using pygithub library.
Input
Import libraries
In [1]:
Setup Variables
repo_name
: name of the repository
In [2]:
Model
List pull requests
Using the Github
class from the github
library, we can connect to the GitHub API and get the all PR from a given repository.
In [3]:
Output
Display result
In [4]: