I want to add a feature of fetching comments from repos in descending order.
AFAIK the github API doesn't support that for the comments endpoint.
I implemented it by using the "last" url in the links header and going to the "prev" page from there.
Do you think this is something you would like to add to PyGithub?
If it is, I could submit a pull request for that.
I want to add a feature of fetching comments from repos in descending order.
AFAIK the github API doesn't support that for the comments endpoint.
I implemented it by using the "last" url in the links header and going to the "prev" page from there.
Do you think this is something you would like to add to PyGithub?
If it is, I could submit a pull request for that.