← Actualités et réseaux sociaux

Utilisateur GitHub

GET /github/user/:username

Obtenez le profil public d'un utilisateur GitHub by username, y compris display name, bio, avatar URL, company, location, public repo count, follower/following counts, et account creation date. Utile pour les developer portfolio tools, team pages qui pull données de GitHub, recruitment platforms, et open source contributor profiles. Données du GitHub REST API.

Paramètres

username requis

GitHub username

Exemples de requêtes

Utilisation de base
curl https://nordapi.ee/api/v1/github/user/torvalds
Linus Torvalds GitHub profile
curl https://nordapi.ee/api/v1/github/user/torvalds
Jose Valim GitHub profile
curl https://nordapi.ee/api/v1/github/user/josevalim
Sindre Sorhus GitHub profile
curl https://nordapi.ee/api/v1/github/user/sindresorhus

Réponse en direct

{
  "data": {
    "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
    "bio": null,
    "blog": "",
    "company": "Linux Foundation",
    "created_at": "2011-09-03T15:26:22Z",
    "followers": 294976,
    "following": 0,
    "location": "Portland, OR",
    "login": "torvalds",
    "name": "Linus Torvalds",
    "public_repos": 11
  },
  "success": true
}