News for hackers. Stuff that matters.
Re:Find out how many users/repos Github has by a simple search by roryoldershaw on Friday October 11, 2013 @05:22AM (#6532160)
So now you could scrape the name of every GitHub user and their email if it is public.
Re:Find out how many users/repos Github has by a simple search by ssaunier_ on Friday October 11, 2013 @09:37AM (#6532972)
Don't need to scrape it, just use their API:

https://api.github.com/users?since=0

And iterate on. They even give you a HTTP header for the next URI:

Link: <https://api.github.com/users?since=135>; rel="next"

There is a rate limit of 60 (per hour), but if you use oauth then it's 5000. See http://developer.github.com/v3/#rate-limiting

Re:Find out how many users/repos Github has by a simple search by roryoldershaw on Friday October 11, 2013 @05:24AM (#6532166)
Oh they rate limit and only allow access to the first 100 pages of results. Well that is that idea out of the window :P You could probably get around 7000 of them max, barely a scratch.
Re:Find out how many users/repos Github has by a simple search by misterdai on Friday October 11, 2013 @07:04AM (#6532376)
It'd take you about 48 days :) When I checked that ID of the most recent user was 5663608. The github API will give you 5000 hits an hour if you authenticate your requests. You'd have a load of "not founds" but working up from 1 to 5663608 would get you every public user (no private accounts or banned / deleted).

5663608 / 5000 = just under 48 days worth of non stop API harrasment... maybe that explains why github keeps going down, someone is already trying this out :P

Re:Find out how many users/repos Github has by a simple search by hbbio on Friday October 11, 2013 @06:57AM (#6532353)
Even if it's not :)