-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I'm trying to fetch user_issues but this get /issues.
It needs to be /user/issues.
>>> import github
>>> github.enable_console_debug_logging()
>>> g = github.Github('oauth token')
>>> u = g.get_user()
>>> assert u.get_user_issues().totalCount == 3
GET https://api.github.com/issues?per_page=1 {'Authorization': 'token (oauth token removed)', 'User-Agent': 'PyGithub/Python'} None ==> 200 {'date': 'Fri, 05 Feb 2021 16:41:55 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '2', 'server': 'GitHub.com', 'cache-control': 'private, max-age=60, s-maxage=60', 'vary': 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With, Accept-Encoding', 'x-oauth-scopes': 'repo', 'x-accepted-oauth-scopes': '', 'x-github-media-type': 'github.v3; format=json', ...} []
Version 1.54.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels