Open OverkillGuy opened 1 year ago
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: https://github.com/dogsheep/github-to-sqlite/blob/ace13ec3d98090d99bd71871c286a4a612c96a50/github_to_sqlite/utils.py#L453 https://github.com/dogsheep/github-to-sqlite/blob/ace13ec3d98090d99bd71871c286a4a612c96a50/github_to_sqlite/utils.py#L455
The endpoints for organisation repos is instead (source): url = "https://api.github.com/orgs/{}/repos".format(username)
url = "https://api.github.com/orgs/{}/repos".format(username)
Let's add support for organisations repo scraping.
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: https://github.com/dogsheep/github-to-sqlite/blob/ace13ec3d98090d99bd71871c286a4a612c96a50/github_to_sqlite/utils.py#L453 https://github.com/dogsheep/github-to-sqlite/blob/ace13ec3d98090d99bd71871c286a4a612c96a50/github_to_sqlite/utils.py#L455
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.