This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Collect all forks of a github project and return the most recently pushed. | |
| Any alternatives I could find searched only the most recent forks of a project, | |
| which does not return accurate results for projects with many forks. | |
| Note that the GitHub API has a rate limit of 60 requests per hour for unauthenticated requests. | |
| You can create a personal access token in order to circumvent this, which will raise the limit |