sigmavirus24/github3.py

Support for X-GitHub-Api-Version HTTP header

cknowles-moz opened this issue · 3 comments

GitHub recently announced the REST API versioning [1], and that they plan breaking changes to the API. In order to avoid this, they created the X-GitHub-Api-Version header to allow us to fix ourselves in time. Would be good to have this supported in this library.

[1] https://github.blog/2022-11-28-to-infinity-and-beyond-enabling-the-future-of-githubs-rest-api-with-api-versioning/

Yup, it sure would be good. Happy to review a pull request that adds this

@anz-ableton
Can you please open a PR in this parent repository?

@alfawal 👍 There's the PR: #1132