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

Distinguish between Issues and Pull Requests #5

Open
volbap opened this issue Oct 17, 2016 · 0 comments
Open

Distinguish between Issues and Pull Requests #5

volbap opened this issue Oct 17, 2016 · 0 comments

Comments

@volbap
Copy link

volbap commented Oct 17, 2016

Github API treats both as issues. In order to distinguish them, we would need 2 requests per repo:

  • Repo GET - for basic repo's information (forks, stars) - we do have this one currently
  • Repo's issues GET - for issues and pull requests. From this response, we can separate them out. Be aware, this request is paginated.
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

1 participant