Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo.stargazers_count and repo.watchers_count is the same number of stars #770

Closed
ghost opened this issue Apr 25, 2018 · 6 comments
Closed

Comments

@ghost
Copy link

ghost commented Apr 25, 2018

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.

@sfdye
Copy link
Member

sfdye commented Apr 25, 2018

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

@ghost
Copy link
Author

ghost commented Apr 25, 2018

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

@sfdye
Copy link
Member

sfdye commented Apr 25, 2018

Yes, try latest stable version 1.39

@sfdye
Copy link
Member

sfdye commented Apr 26, 2018

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

@sfdye sfdye closed this as completed Apr 26, 2018
@ghost
Copy link
Author

ghost commented Apr 26, 2018

I have solved it using the latest version

@sfdye
Copy link
Member

sfdye commented Apr 26, 2018

Good to hear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant