¿Cómo se obtiene el GitHub ID?


curl https://api.github.com/users/sgonzalezO
{
  "login": "sgonzalezO",
  "id": XXXXXXX,
  "node_id": "MDQ6VXNssa&7lcjE2MTMzNjAz",
  "avatar_url": "https://avatars2.githubusercontent.com/u/16133603?v=4",
  "gravatar_id": "",
  "url": "https://api.github.com/users/sgonzalezO",
  "html_url": "https://github.com/sgonzalezO",
  "followers_url": "https://api.github.com/users/sgonzalezO/followers",
  "following_url": "https://api.github.com/users/sgonzalezO/following{/other_user}",
  "gists_url": "https://api.github.com/users/sgonzalezO/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/sgonzalezO/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/sgonzalezO/subscriptions",
  "organizations_url": "https://api.github.com/users/sgonzalezO/orgs",
  "repos_url": "https://api.github.com/users/sgonzalezO/repos",
  "events_url": "https://api.github.com/users/sgonzalezO/events{/privacy}",
  "received_events_url": "https://api.github.com/users/sgonzalezO/received_events",
  "type": "User",
  "site_admin": false,
  "name": "Salvador González González",
  "company": "Open Canarias S.L.",
  "blog": "www.opencanarias.com",
  "location": "España",
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 6,
  "public_gists": 0,
  "followers": 0,
  "following": 1,
  "created_at": "2015-12-03T11:10:20Z",
  "updated_at": "2020-04-22T17:30:34Z"
}

Comentarios

Entradas populares