Pygithub: repo.stargazers_count and repo.watchers_count is the same number of stars

Created on 25 Apr 2018  ·  6Comments  ·  Source: PyGithub/PyGithub

I get the same number which is the number of stars from repo.stargazers_count and repo.watchers_count, i can't get the number of watchers. In the API of Github, we can get the number from the "subscribers_count‘’,but in PyGithub, i find there is not the function.

Most helpful comment

I have solved it using the latest version

All 6 comments

Which pygithub version are you using? I believe this attribute is in already in the master, so it should be available to you.

The version is 1.29. OK, i try the newest version again.

Yes, try latest stable version 1.39

Closing, feel free to re-open if still an issue.

I have solved it using the latest version

Good to hear

Was this page helpful?
0 / 5 - 0 ratings