GET
/
api
/
v2
/
github
/
user
/
info
curl --location --request GET 'https://piloterr.com/api/v2/github/user/info?query=torvalds' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>' \
{
    "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
string

Github user id

name
string

Github user name

email
string

Github user email

login
string

Github user login

company
string

Github user company

location
string

Github user location

ssh_keys
string

Github user ssh keys

followers
string

Github user followers

following
string

Github user following

avatar_url
string

Github user avatar url

created_at
string

Github user created at

updated_at
string

Github user updated at

public_gists
string

Github user public gists

public_repos
string

Github user public repos