GitHub anniversary
While reviewing the set of maintainers in the Home Manager repo, I noticed each attribute list included a GitHub user ID.
Assuming you have a GitHub account, instructions on finding your own ID suggest
a quick GET
request to the following route:
GET https://api.github.com/users/{username}
As my GitHub username is jcf
, my request looks something like this:
$ curl https://api.github.com/users/jcf | jq
{
"login": "jcf",
"id": 18374,
"node_id": "MDQ6VXNlcjE4Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/18374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcf",
"html_url": "https://github.com/jcf",
"followers_url": "https://api.github.com/users/jcf/followers",
"following_url": "https://api.github.com/users/jcf/following{/other_user}",
"gists_url": "https://api.github.com/users/jcf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jcf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcf/subscriptions",
"organizations_url": "https://api.github.com/users/jcf/orgs",
"repos_url": "https://api.github.com/users/jcf/repos",
"events_url": "https://api.github.com/users/jcf/events{/privacy}",
"received_events_url": "https://api.github.com/users/jcf/received_events",
"type": "User",
"site_admin": false,
"name": "James Conroy-Finn",
"company": "@invetica",
"blog": "https://jamesconroyfinn.com/",
"location": null,
"email": null,
"hireable": true,
"bio": "Scientist, technologist, adventurer.",
"twitter_username": "jamesconroyfinn",
"public_repos": 234,
"public_gists": 243,
"followers": 130,
"following": 65,
"created_at": "2008-07-25T10:17:24Z",
"updated_at": "2023-12-27T23:40:10Z"
}
And with the I can see that my ID is 18,374 and that my account was created back in 2008, making it my 16th anniversary this year.