Skip to content

How to get list of PRIVATE repositories via api call #24382

Discussion options

You must be logged in to vote

I’m not sure this is the API you are looking for.
Try this one:

https://api.github.com/search/repositories?q=user:USERNAME

Without credentials, you will receive all public repositories of the user.
With credentials you will also receive the private ones.

Replies: 8 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@vega0
Comment options

@omkarsathe01
Comment options

@010762612
Comment options

@vermakhushboo
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@notgabry
Comment options

@renettarenula
Comment options

@amirSohel007
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Jon104
Comment options

@James-Bonner
Comment options

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