I really, really want to start grabbing this data: https://github.com/simonw/datasette/network/dependents
Activity
simonw commentedon Apr 30, 2020
Unfortunately it's not available through any GitHub API - I managed to figure out how to get dependencies, but I need dependents. https://github.com/simonw/til/blob/master/github/dependencies-graphql-api.md
simonw commentedon Apr 30, 2020
It looks like the only option is to scrape them. I'll do that and then replace with an API as soon as one becomes available.
[-]Command for accessing dependents or a repo[/-][+]Command for accessing dependents for a repo[/+]simonw commentedon Apr 30, 2020
Proposed command:
I'll pull full details of the scraped repos from the regular API. I'll also record when they were "first seen" by the command.
simonw commentedon Apr 30, 2020
I think this is the neatest scraping pattern:
simonw commentedon Apr 30, 2020
And to find the "Next" pagination link:
[-]Command for accessing dependents for a repo[/-][+]Command for retrieving dependents for a repo[/+]New scrape-dependents command, refs #34
simonw commentedon Apr 30, 2020
Documentation: https://github.com/dogsheep/github-to-sqlite/blob/c9f48404481882e8b3af06f35e4801a80ac79ed6/README.md#scraping-dependents-for-a-repository
Install test dependencies, refs #34
Release 2.1, refs #34
Scrape dependents demo, refs #34