logoalt Hacker News

rwmjtoday at 2:08 PM4 repliesview on HN

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

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


Replies

esterlytoday at 2:12 PM

`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

show 1 reply
Xioltoday at 3:27 PM

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

zparkytoday at 2:15 PM

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

d4mi3ntoday at 2:10 PM

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