Bug: Wrong GitHub API result when retrieving repository information
- From
- Wert Alexander <alexander.wert@novatec-gmbh.de>
- Date
- Feb 3, 2016, 06:58 UTC
- Message-ID
- <7f00f77e5c8946ae8a17c76feb7dc98b@DGPR01.novatec-gmbh.de>
Dear GitHub Developers,
I'm using the GitHub API for retrieving statistics like stargazers_count or watchers_count. Unfortunately, an API call to https://api.github.com/users/<USER>/repos returns (as JSON) the same number for stargazers_count and watchers_count, although on the Website the numbers are different.
Example: ... "size": 5279, "stargazers_count": 51, "watchers_count": 51, "language": "Java", ...
The actual count on the website, however, are 51 for stargazers and 20 for watchers.
Any idea what could be the problem?
Thank you in advance!
Regards, Alexander Wert