PyGithub
PyGithub copied to clipboard
Get Repositories for a specific date/month/year or within a range of dates
Hi, Can anyone please help me fetch repositories created on a particular date/month/year or within a range of dates? I have tried the following but it does not give proper results:
-
using "query"
g = Github(TOKEN) repositories = g.search_repositories(query='since:2018') -
using "since"
g = Github(TOKEN) r = g.get_repos(since=2021)
I want to crawl all the public repo for a particular year but since the requests are limited to 1000 thus I am trying to break my search query into smaller queries.
Any help/pointer would be appreciated. Thanks in advance.