PyGithub icon indicating copy to clipboard operation
PyGithub copied to clipboard

Get Repositories for a specific date/month/year or within a range of dates

Open prince14322 opened this issue 3 years ago • 0 comments

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:

  1. using "query" g = Github(TOKEN) repositories = g.search_repositories(query='since:2018')

  2. 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.

prince14322 avatar May 03 '22 13:05 prince14322