I'm looking for a solution to randomly sample repos from Github. The final result is to perform some data analysis on the sample.
What I would like to do is sample by the repository's id: sample an int between 0 and 2.7 million and find the associated repo. After I have the username/repo-name, I'll use the api to get details.
The problem is I do not know how to search by repo id. Any suggestions? I'm open to webscraping or Python solutions.