https
GET
api.github.com
None
/repos/PyGithub/PyGithub/commits?sha=release-v2-0&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:40 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"7a958b94c8365977d70d5a4e62a2c2e9a8a8d2a97fc1b814b4857080d2ce67c5"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits?sha=release-v2-0&per_page=2&page=2>; rel="next", <https://api.github.com/repositories/3544490/commits?sha=release-v2-0&per_page=2&page=1044>; rel="last"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4870'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '130'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'EB9F:3A1BC1:18461A2:15E90DD:695FB450')]
[{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}]},{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","node_id":"C_kwDOADYVqtoAKDlmNzg1MGJmNjU3MmVhODU3MmI4YjEzNmI4YjNkM2UwOWNiMzg0MDM","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T17:27:32Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T17:30:06Z"},"message":"Suppress `requests` fallback to netrc, provide `github.Auth.Netrc` (#2739)","tree":{"sha":"c6dcb05abb8b98c6d4f13177381d26a239cf9b10","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/c6dcb05abb8b98c6d4f13177381d26a239cf9b10"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"50299c92f4a0fdde3e66900e9fbdb75cb3c4d559","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/50299c92f4a0fdde3e66900e9fbdb75cb3c4d559","html_url":"https://github.com/PyGithub/PyGithub/commit/50299c92f4a0fdde3e66900e9fbdb75cb3c4d559"}]}]

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:40 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"a1d8d7a9276b6ab4fc230ed8c128c5ad35bfb505106dc2e370abcb090559875b"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2>; rel="next", <https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2>; rel="last"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4869'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '131'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'F2B4:2503F5:18CCF88:166DAD9:695FB450')]
{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}],"stats":{"total":23,"additions":17,"deletions":6},"files":[{"sha":"85536829e55af14399a2341f3dc4dc23b44ea5cf","filename":"github/Auth.py","status":"modified","additions":10,"deletions":4,"changes":14,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FAuth.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FAuth.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAuth.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -83,7 +83,7 @@ def token_type(self) -> str:\n     @property\n     def token(self) -> str:\n         return (\n-            base64.b64encode(f\"{self.login}:{self.password}\".encode())\n+            base64.b64encode(f\"{self.username}:{self.password}\".encode())\n             .decode(\"utf-8\")\n             .replace(\"\\n\", \"\")\n         )\n@@ -491,20 +491,26 @@ def username(self) -> str:\n \n     @property\n     def login(self) -> str:\n-        assert self._login is not None, \"Method withRequester(Requester) must be called first\"\n+        assert (\n+            self._login is not None\n+        ), \"Method withRequester(Requester) must be called first\"\n         return self._login\n \n     @property\n     def password(self) -> str:\n-        assert self._password is not None, \"Method withRequester(Requester) must be called first\"\n+        assert (\n+            self._password is not None\n+        ), \"Method withRequester(Requester) must be called first\"\n         return self._password\n \n     def withRequester(self, requester: Requester) -> \"NetrcAuth\":\n         super().withRequester(requester)\n \n         auth = utils.get_netrc_auth(requester.base_url, raise_errors=True)\n         if auth is None:\n-            raise RuntimeError(f\"Could not get credentials from netrc for host {requester.hostname}\")\n+            raise RuntimeError(\n+                f\"Could not get credentials from netrc for host {requester.hostname}\"\n+            )\n \n         self._login, self._password = auth\n "},{"sha":"37f76d9e16a3cf9556b5995aff1ff0a73f79696d","filename":"github/Requester.py","status":"modified","additions":3,"deletions":1,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FRequester.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FRequester.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRequester.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -258,7 +258,9 @@ class Requester:\n     _frameBuffer: List[Any]\n \n     @staticmethod\n-    def noopAuth(request: requests.models.PreparedRequest) -> requests.models.PreparedRequest:\n+    def noopAuth(\n+        request: requests.models.PreparedRequest,\n+    ) -> requests.models.PreparedRequest:\n         return request\n \n     @classmethod"}]}

https
GET
api.github.com
None
/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:41 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"198e37d108f69a11166d07b21d3daeb7c666d7d3c698baf2a486d24f941e5c6a"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2>; rel="prev", <https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2>; rel="first"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4868'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '132'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'F734:316099:189600F:1638D25:695FB451')]
{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}],"stats":{"total":23,"additions":17,"deletions":6},"files":[{"sha":"d895066ee05a1f1fdddf20960d41af82b5807497","filename":"tests/Authentication.py","status":"modified","additions":4,"deletions":1,"changes":5,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/tests%2FAuthentication.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/tests%2FAuthentication.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FAuthentication.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -220,7 +220,10 @@ def testNetrcAuthFails(self):\n             with mock.patch.dict(os.environ, {\"NETRC\": tmp.name}):\n                 with self.assertRaises(RuntimeError) as exc:\n                     github.Github(auth=auth)\n-                self.assertEqual(exc.exception.args, (\"Could not get credentials from netrc for host api.github.com\",))\n+                self.assertEqual(\n+                    exc.exception.args,\n+                    (\"Could not get credentials from netrc for host api.github.com\",),\n+                )\n \n     def testCreateJWT(self):\n         auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)"}]}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:41 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"60b4a587fa622fe254e0f944cd94e5a0e04f8632c24ee41a07ef62f8653003d9"'), ('Last-Modified', 'Thu, 08 Jan 2026 11:05:32 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4867'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '133'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'F3DF:139E44:1CD712A:1A14C06:695FB451')]
{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","user_view_type":"public","site_admin":false},"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2026-01-08T11:05:32Z","pushed_at":"2026-01-07T11:28:45Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":19658,"stargazers_count":7636,"watchers_count":7636,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1872,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":365,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["github","github-api","pygithub","python"],"visibility":"public","forks":1872,"open_issues":365,"watchers":7636,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"custom_properties":{},"organization":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","user_view_type":"public","site_admin":false},"network_count":1872,"subscribers_count":110}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/commits?sha=release-v2-0&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:42 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"7a958b94c8365977d70d5a4e62a2c2e9a8a8d2a97fc1b814b4857080d2ce67c5"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits?sha=release-v2-0&per_page=2&page=2>; rel="next", <https://api.github.com/repositories/3544490/commits?sha=release-v2-0&per_page=2&page=1044>; rel="last"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4866'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '134'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'FC0B:3A1BC1:1846D8C:15E9B8C:695FB451')]
[{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}]},{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","node_id":"C_kwDOADYVqtoAKDlmNzg1MGJmNjU3MmVhODU3MmI4YjEzNmI4YjNkM2UwOWNiMzg0MDM","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T17:27:32Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T17:30:06Z"},"message":"Suppress `requests` fallback to netrc, provide `github.Auth.Netrc` (#2739)","tree":{"sha":"c6dcb05abb8b98c6d4f13177381d26a239cf9b10","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/c6dcb05abb8b98c6d4f13177381d26a239cf9b10"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"50299c92f4a0fdde3e66900e9fbdb75cb3c4d559","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/50299c92f4a0fdde3e66900e9fbdb75cb3c4d559","html_url":"https://github.com/PyGithub/PyGithub/commit/50299c92f4a0fdde3e66900e9fbdb75cb3c4d559"}]}]

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:42 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"a1d8d7a9276b6ab4fc230ed8c128c5ad35bfb505106dc2e370abcb090559875b"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2>; rel="next", <https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2>; rel="last"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4865'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '135'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'ECC1:227F48:18B2E6D:165ABB5:695FB452')]
{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}],"stats":{"total":23,"additions":17,"deletions":6},"files":[{"sha":"85536829e55af14399a2341f3dc4dc23b44ea5cf","filename":"github/Auth.py","status":"modified","additions":10,"deletions":4,"changes":14,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FAuth.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FAuth.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FAuth.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -83,7 +83,7 @@ def token_type(self) -> str:\n     @property\n     def token(self) -> str:\n         return (\n-            base64.b64encode(f\"{self.login}:{self.password}\".encode())\n+            base64.b64encode(f\"{self.username}:{self.password}\".encode())\n             .decode(\"utf-8\")\n             .replace(\"\\n\", \"\")\n         )\n@@ -491,20 +491,26 @@ def username(self) -> str:\n \n     @property\n     def login(self) -> str:\n-        assert self._login is not None, \"Method withRequester(Requester) must be called first\"\n+        assert (\n+            self._login is not None\n+        ), \"Method withRequester(Requester) must be called first\"\n         return self._login\n \n     @property\n     def password(self) -> str:\n-        assert self._password is not None, \"Method withRequester(Requester) must be called first\"\n+        assert (\n+            self._password is not None\n+        ), \"Method withRequester(Requester) must be called first\"\n         return self._password\n \n     def withRequester(self, requester: Requester) -> \"NetrcAuth\":\n         super().withRequester(requester)\n \n         auth = utils.get_netrc_auth(requester.base_url, raise_errors=True)\n         if auth is None:\n-            raise RuntimeError(f\"Could not get credentials from netrc for host {requester.hostname}\")\n+            raise RuntimeError(\n+                f\"Could not get credentials from netrc for host {requester.hostname}\"\n+            )\n \n         self._login, self._password = auth\n "},{"sha":"37f76d9e16a3cf9556b5995aff1ff0a73f79696d","filename":"github/Requester.py","status":"modified","additions":3,"deletions":1,"changes":4,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FRequester.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/github%2FRequester.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github%2FRequester.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -258,7 +258,9 @@ class Requester:\n     _frameBuffer: List[Any]\n \n     @staticmethod\n-    def noopAuth(request: requests.models.PreparedRequest) -> requests.models.PreparedRequest:\n+    def noopAuth(\n+        request: requests.models.PreparedRequest,\n+    ) -> requests.models.PreparedRequest:\n         return request\n \n     @classmethod"}]}

https
GET
api.github.com
None
/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=2&per_page=2
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Thu, 08 Jan 2026 13:42:42 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"198e37d108f69a11166d07b21d3daeb7c666d7d3c698baf2a486d24f941e5c6a"'), ('Last-Modified', 'Mon, 28 Aug 2023 18:27:45 GMT'), ('github-authentication-token-expiration', '2026-02-06 07:42:23 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2>; rel="prev", <https://api.github.com/repositories/3544490/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9?page=1&per_page=2>; rel="first"'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4864'), ('X-RateLimit-Reset', '1767880692'), ('X-RateLimit-Used', '136'), ('X-RateLimit-Resource', 'core'), ('X-GitHub-Request-Id', 'E7D5:139E44:1CD79FF:1A15409:695FB452')]
{"sha":"0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","node_id":"C_kwDOADYVqtoAKDA3OTFjYzdiMWE3MDZhYjVkN2M2MDdkZGZmMzVkZTRkNDg2YmEzZTk","commit":{"author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2023-08-28T18:27:45Z"},"message":"Fixing lint errors in release branch","tree":{"sha":"29bb34c69f42d69d0e13d5951a47b32ac4bea130","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/29bb34c69f42d69d0e13d5951a47b32ac4bea130"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","html_url":"https://github.com/PyGithub/PyGithub/commit/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/comments","author":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"9f7850bf6572ea8572b8b136b8b3d3e09cb38403","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/9f7850bf6572ea8572b8b136b8b3d3e09cb38403","html_url":"https://github.com/PyGithub/PyGithub/commit/9f7850bf6572ea8572b8b136b8b3d3e09cb38403"}],"stats":{"total":23,"additions":17,"deletions":6},"files":[{"sha":"d895066ee05a1f1fdddf20960d41af82b5807497","filename":"tests/Authentication.py","status":"modified","additions":4,"deletions":1,"changes":5,"blob_url":"https://github.com/PyGithub/PyGithub/blob/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/tests%2FAuthentication.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/0791cc7b1a706ab5d7c607ddff35de4d486ba3e9/tests%2FAuthentication.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/tests%2FAuthentication.py?ref=0791cc7b1a706ab5d7c607ddff35de4d486ba3e9","patch":"@@ -220,7 +220,10 @@ def testNetrcAuthFails(self):\n             with mock.patch.dict(os.environ, {\"NETRC\": tmp.name}):\n                 with self.assertRaises(RuntimeError) as exc:\n                     github.Github(auth=auth)\n-                self.assertEqual(exc.exception.args, (\"Could not get credentials from netrc for host api.github.com\",))\n+                self.assertEqual(\n+                    exc.exception.args,\n+                    (\"Could not get credentials from netrc for host api.github.com\",),\n+                )\n \n     def testCreateJWT(self):\n         auth = github.Auth.AppAuth(APP_ID, PRIVATE_KEY)"}]}
