Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch repos doesn't support organisations #75

Open
OverkillGuy opened this issue Sep 6, 2022 · 0 comments · May be fixed by #76
Open

Fetch repos doesn't support organisations #75

OverkillGuy opened this issue Sep 6, 2022 · 0 comments · May be fixed by #76

Comments

@OverkillGuy
Copy link

Say I want to get all my Github Org's repos info, for data analysis. Not just the public repos, but also the private/internal repos.

The endpoints are different for organisation, and this tool doesn't take it into account:

url = "https://api.github.com/users/{}/repos".format(username)

url = "https://api.github.com/user/repos"

The endpoints for organisation repos is instead (source):
url = "https://api.github.com/orgs/{}/repos".format(username)

Let's add support for organisations repo scraping.

@OverkillGuy OverkillGuy linked a pull request Sep 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant