Reputation:
The github issues api provides a way to get all the issues that were updated at or after a particular time, but is there a way I can get all the issues before a particular time?
Upvotes: 3
Views: 61
Reputation: 1323943
If the issues API isn't a good fit, you can falbback on the Issues Search API.
That would at least allows to search from oldest to most recent and filter out the ones that are past the time specified initially.
Example
Let’s say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
https://api.github.com/search/issues?q=windows+label:bug+language:python+state:open&sort=created&order=asc
Filter the result of that query and what is left is all the issues before a certain date.
Upvotes: 1