octocrab
octocrab copied to clipboard
How to access commit compare endpoint?
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.
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.
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.