# Bug: Wrong GitHub API result when retrieving repository information

2 messages from 2016-02-03 to 2016-02-03. Participants: Wert Alexander, Luca Milanesio.
Thread: https://gitlist.dev/t/41319

## Wert Alexander, 2016-02-03 06:58

Subject: Bug: Wrong GitHub API result when retrieving repository information
Message-ID: <7f00f77e5c8946ae8a17c76feb7dc98b@DGPR01.novatec-gmbh.de>
URL: https://gitlist.dev/e/7f00f77e5c8946ae8a17c76feb7dc98b%40DGPR01.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

```

## Luca Milanesio, 2016-02-03 08:39

Subject: Re: Bug: Wrong GitHub API result when retrieving repository information
Message-ID: <5C530CF9-26F8-4095-A776-E11D8FF49DEF@gmail.com>
URL: https://gitlist.dev/e/5C530CF9-26F8-4095-A776-E11D8FF49DEF%40gmail.com
In-Reply-To: <7f00f77e5c8946ae8a17c76feb7dc98b@DGPR01.novatec-gmbh.de>

```
Wrong mailing list?

> On 3 Feb 2016, at 06:58, Wert Alexander <Alexander.Wert@novatec-gmbh.de> wrote:
> 
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

```
