Api URL to find all github repos for user? #24393
Answered
by
parithiban
eopb
asked this question in
API and Webhooks
-
https://api.github.com/users/ethanboxx/repos Gives 30 results but I have 50 repositories on that github page. Is there a url I could use to get all 50 of them in json form? |
Beta Was this translation helpful? Give feedback.
Answered by
parithiban
Nov 30, 2019
Replies: 1 comment
-
Using the below url you can get 50 data set. https://api.github.com/users/ethanboxx/repos?per_page=50 GitHub has pagination and by default, the result set is 30 only. Either you can traverse through pages or increase the per_page parameter. https://developer.github.com/v3/#pagination Regards Parithiban |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ethanboxx
Using the below url you can get 50 data set.
https://api.github.com/users/ethanboxx/repos?per_page=50
GitHub has pagination and by default, the result set is 30 only. Either you can traverse through pages or increase the per_page parameter.
https://developer.github.com/v3/#pagination
Regards
Parithiban