curl --request GET \
--url https://piloterr.com/api/v2/github/user/info \
--header 'x-api-key: <x-api-key>'
{
"id": 1024025,
"name": "Linus xxxxxxx",
"email": [
"xxxxx@xxxx-xxxxxxx.org"
],
"login": "xxxxx",
"company": "Linux Foundation",
"location": "Portland, OR",
"ssh_keys": "https://github.com/xxxxx.keys",
"followers": 199164,
"following": 0,
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"created_at": "2011-09-03T15:26:22Z",
"updated_at": "2023-11-12T20:08:30Z",
"public_gists": "https://gist.github.com/xxxxx",
"public_repos": 7
}
Get Github user info
curl --request GET \
--url https://piloterr.com/api/v2/github/user/info \
--header 'x-api-key: <x-api-key>'
{
"id": 1024025,
"name": "Linus xxxxxxx",
"email": [
"xxxxx@xxxx-xxxxxxx.org"
],
"login": "xxxxx",
"company": "Linux Foundation",
"location": "Portland, OR",
"ssh_keys": "https://github.com/xxxxx.keys",
"followers": 199164,
"following": 0,
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"created_at": "2011-09-03T15:26:22Z",
"updated_at": "2023-11-12T20:08:30Z",
"public_gists": "https://gist.github.com/xxxxx",
"public_repos": 7
}
https://github.com/torvalds
or torvalds
or name@company.com
Hide properties
{
"id": 1024025,
"name": "Linus xxxxxxx",
"email": [
"xxxxx@xxxx-xxxxxxx.org"
],
"login": "xxxxx",
"company": "Linux Foundation",
"location": "Portland, OR",
"ssh_keys": "https://github.com/xxxxx.keys",
"followers": 199164,
"following": 0,
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"created_at": "2011-09-03T15:26:22Z",
"updated_at": "2023-11-12T20:08:30Z",
"public_gists": "https://gist.github.com/xxxxx",
"public_repos": 7
}
Was this page helpful?