git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bug: Wrong GitHub API result when retrieving repository information

From
WAWert 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

Next: Luca Milanesio
Message 1 of 2 in “Bug: Wrong GitHub API result when retrieving repository information”
  1. Wert AlexanderFeb 3, 2016
  2. Luca MilanesioFeb 3, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.