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

Show open issues and PRs in the repo card #3

Open
vinitshahdeo opened this issue Sep 30, 2021 · 5 comments
Open

Show open issues and PRs in the repo card #3

vinitshahdeo opened this issue Sep 30, 2021 · 5 comments

Comments

@vinitshahdeo
Copy link
Owner

Screenshot 2021-09-30 at 11 47 09 AM

Explore GitHub APIs here.

@imaaquibali
Copy link

bhai i can't understand this can u explain little bit?

@skaushiks
Copy link

Hi @vinitshahdeo , could you please assign me this for hacktoberfest?

@vinitshahdeo
Copy link
Owner Author

@aaquibali Like every repo card, the number of open PRs and issues should be displayed along with the other info about repo.

@vinitshahdeo
Copy link
Owner Author

@skaushiks Yes, please go ahead.

@skaushiks
Copy link

@vinitshahdeo The response from API returns open_issues_count that is total of open-issues+open-PRs. Also, if I try to get list of PRs for each repo then it doesn't return for all repos if repos_count > 60.
This is from Docs: "For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests."

So it isn't possible to show separately for open-issues and PRs. I can add an issue icon with only open_issues_count Please let me know if it's okay.
Thank you

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

No branches or pull requests

3 participants