GET
/
api
/
v2
/
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
}
x-api-key
string
required

This parameter specifies the private key you’ll need for Piloterr access.

Parameters

query
string

Github user url or an email address : https://github.com/torvalds or torvalds or name@company.com

Response

user
User Object
{
    "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
}