pyufunc.github_get_status#
- pyufunc.github_get_status(usr_name, repo_name=None)#
Fetches GitHub repository status including stars, forks, issues, and pull requests. If the repository is forked, also fetches the star count of the original repository. If repo_name is not specified, returns details for all repositories under the user.
- Parameters:
- Returns:
A list of dictionaries containing the status of the repositories.
- Return type:
Example
>>> from pyufunc import github_get_status >>> github_get_status("xyluo25", "pyufunc") [{'name': 'pyufunc', 'stars': 1, 'forks': 0, 'issues': 0, 'pull_requests': 0, 'original_stars': None}]