Get Repositories for a specific date/month/year or within a range of dates
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 1.9k
- Avg merge
- 17m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's examples for Github.search_repositories and Github.get_repos, then compare their date-related behavior with the GitHub API's repository search capabilities. The requested date formats, expected results, and whether this needs a library change or usage guidance must be clarified before completion can be defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100