danse / meta

A repo about other repos
0 stars 0 forks source link

nostar - Github daily trending repos #26

Open danse opened 7 years ago

danse commented 7 years ago

Github daily trending repos are defined by number of stars. I don't care about the stars, but rather about the forks. I could write a small script to query the API and get the ones with most forks in a given day. I should probably eliminate repos used for courses and bootcamps

danse commented 7 years ago

There is no option in the search interface for limiting to an interval, so i am not sure that this is possible https://developer.github.com/v3/search

danse commented 7 years ago

I tried adding since=monthly and since=daily like in the location of the Github trending page and even if undocumented it does not trigger an error

danse commented 7 years ago

The since option seems to be ignored in that script, in the results i get repos that were trending years ago

danse commented 7 years ago

Maybe the only (bad) way i have to get a similar information is to fetch the list of the overall most forked repos, keep it in a cache and calculate the differences. If i fetch enough items i should be able to detect raising repos

danse commented 7 years ago

The new API might change this state of things https://developer.github.com/v4/