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

How to access commit compare endpoint? #421

Open
hwittenborn opened this issue Jul 20, 2023 · 2 comments
Open

How to access commit compare endpoint? #421

hwittenborn opened this issue Jul 20, 2023 · 2 comments

Comments

@hwittenborn
Copy link

I'm wanting to access https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits from my application, but I'm not sure how to do it with octocrab. Has it not been implemented, or am I just looking around in the wrong places?

I'd be willing to get a PR going as well if needed, I just wanted to check before doing anything.

@XAMPPRocky
Copy link
Owner

Thank you for your issue! There is an open PR #413 adding this functionality, but that needs to be updated before it can be merged. You can use that branch as git dependency or use the HTTP API while waiting for it to be merged.

@hwittenborn
Copy link
Author

That's great to see someone's already put in the work! I'll probably end up using the HTTP API as I'm adding it into something I'm not really going to touch after I add it in, but I'll see if I can give that PR a spin sometime soon to make sure everything's working out fine too.

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