Github API to get all public repos fro mall users #119379
-
Select Topic AreaGeneral BodyI’m working on a project and want to pull data of all github repos with a contribution in the last month (and filter just the top 100 so that it’s not such a massive amount of data). Any pointers of weather an endpoint for this exists? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You could try using the github REST API, specifically filtering for all repositories with query parameter "pushed" after some date. Apparently each search is limited to up to 1,000 results for each search, so should be fine for your use case. |
Beta Was this translation helpful? Give feedback.
You could try using the github REST API, specifically filtering for all repositories with query parameter "pushed" after some date.
https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax
https://docs.github.com/en/rest/search/search
Apparently each search is limited to up to 1,000 results for each search, so should be fine for your use case.