Skip to content

API is very confusing by listing Stars count for Watchers count on all repos #24795

Discussion options

You must be logged in to vote

Sorry for the confusion here - this part of the API changed when we moved “watching” to mean “starring” and is explained in this post from the API blog:

http://developer.github.com/changes/2012-9-5-watcher-api/

watchers corresponds to the number of users that have starred a repository, while subscribers_count corresponds to the number of watchers. For example, looking at the Atom repository:

https://api.github.com/repos/atom/atom

Right now it has:

“subscribers_count”: 2468
“stargazers_count”: 48009

This is because there are 2468 watchers (= subscribers) and 48009 stargazers.

I hope that clears things up but if you have more questions, please let us know!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants