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 7 replies

Comment options

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

@omkarsathe01
Comment options

@010762612
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
1 reply
@Jon104
Comment options

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