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

Organizations support #3

Open
jendib opened this issue May 23, 2019 · 1 comment
Open

Organizations support #3

jendib opened this issue May 23, 2019 · 1 comment

Comments

@jendib
Copy link

jendib commented May 23, 2019

Would you consider also pulling repos from linked organizations?
For me, all my interesting repos are in a separate organization.

@eveningkid
Copy link
Owner

Hi Benjamin,

It would be possible by changing the original code to something else.

The steps should be as follow:

  1. Save the user organizations_url attribute (on the /users/:username call)
  2. Fetch the content from that URL
  3. Get the list of organizations from the response
  4. Loop on each organization and call the /orgs/:organization_name/repos endpoint

If you are willing to contribute to this repository, you have everything you need :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants