Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4797

Fetch number of repositories using Github Api

$
0
0

I need to fetch the number of public repositories of a user using the Github API.I know that we can get a list of repos using /users/{username}/repos. This query returns a list of repositories.What I want is just the total number of repositories not the entire list. If I try to count the repositories using /users/{username}/repos it works fine for the users that have smaller number of repositories but for users that have a large number of repositories , the API call takes too much time.Is there any way by which I can get just the number of repos and not the entire list?


Viewing all articles
Browse latest Browse all 4797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>