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

StargazersCount is always nil when using Repositories.ListAll #2198

Closed
Flawe opened this issue Nov 7, 2021 · 2 comments
Closed

StargazersCount is always nil when using Repositories.ListAll #2198

Flawe opened this issue Nov 7, 2021 · 2 comments

Comments

@Flawe
Copy link

Flawe commented Nov 7, 2021

When querying repos with Repositories.ListAll, StargazersCount is always nil. Is there any other way to get the number of stars for different repositories if this isn't the correct way?

@gmlewis
Copy link
Collaborator

gmlewis commented Nov 7, 2021

Have you tried reproducing this issue by calling the GitHub v3 API endpoint via curl and inspected the value of stargazers_count ?

If curl also reports nil/null/empty/0, then GitHub tech support should be contacted.

If, however, curl shows a valid value that this client library is not picking up, then this is truly an issue that can be fixed.

Please report back your findings so that we can proceed accordingly. Thank you, @Flawe !

@gmlewis
Copy link
Collaborator

gmlewis commented Mar 17, 2025

Closing issue due to inactivity.

@gmlewis gmlewis closed this as completed Mar 17, 2025
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

2 participants