Skip to content

Fetch repos doesn't support organisations #75

Description

@OverkillGuy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions