Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> “I'm GitHub user 1299, joined Feb 2008,”

How do you find out what "github user #" you are?



`curl https://api.github.com/users/YOUR_USER_HERE` then look for the id in the payload. "id": 2851

Or look at the html source of your avatar, https://avatars.githubusercontent.com/u/2851?v=4


Huh. Looks like my account is only two months younger. I'm not nearly as emotionally attached to GH though.


Huh, I'm in the late 150000's. I was genuinely expecting it to be in the millions.


go to a profile and open image in new tab, the URL is /u/# (im # ~4 million!)


It shows up in API responses when you look up your own user.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: