github의 사용자 정보 API

CODEDRAGON Development/Git, PM

반응형

 

 

 

github 사용자 정보 API

URL 요청을 보내면 JSON형식으로 해당 사용자아이디의 정보를 제공해 줍니다.

 

 

https://api.github.com/users/userid
https://api.github.com/users/torvalds

 

 

 

https://api.github.com/users/torvalds

{
  "login": "torvalds",
  "id": 1024025,
  "node_id": "MDQ6VXNlcjEwMjQwMjU=",
  "avatar_url": "
https://avatars0.githubusercontent.com/u/1024025?v=4",
  "gravatar_id": "",
  "url": "
https://api.github.com/users/torvalds",
  "html_url": "
https://github.com/torvalds",
  "followers_url": "
https://api.github.com/users/torvalds/followers",
  "following_url": "
https://api.github.com/users/torvalds/following{/other_user}",
  "gists_url": "
https://api.github.com/users/torvalds/gists{/gist_id}",
  "starred_url": "
https://api.github.com/users/torvalds/starred{/owner}{/repo}",
  "subscriptions_url": "
https://api.github.com/users/torvalds/subscriptions",
  "organizations_url": "
https://api.github.com/users/torvalds/orgs",
  "repos_url": "
https://api.github.com/users/torvalds/repos",
  "events_url": "
https://api.github.com/users/torvalds/events{/privacy}",
  "received_events_url": "
https://api.github.com/users/torvalds/received_events",
  "type": "User",
  "site_admin": false,
  "name": "Linus Torvalds",
  "company": "Linux Foundation",
  "blog": "",
  "location": "Portland, OR",
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 6,
  "public_gists": 0,
  "followers": 75185,
  "following": 0,
  "created_at": "2011-09-03T15:26:22Z",
  "updated_at": "2018-06-20T06:17:08Z"
}

 

 

 

 

https://api.github.com/users/douglascrockford

{
  "login": "douglascrockford",
  "id": 262641,
  "node_id": "MDQ6VXNlcjI2MjY0MQ==",
  "avatar_url": "https://avatars1.githubusercontent.com/u/262641?v=4",
  "gravatar_id": "",
  "url": "https://api.github.com/users/douglascrockford",
  "html_url": "https://github.com/douglascrockford",
  "followers_url": "https://api.github.com/users/douglascrockford/followers",
  "following_url": "https://api.github.com/users/douglascrockford/following{/other_user}",
  "gists_url": "https://api.github.com/users/douglascrockford/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/douglascrockford/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/douglascrockford/subscriptions",
  "organizations_url": "https://api.github.com/users/douglascrockford/orgs",
  "repos_url": "https://api.github.com/users/douglascrockford/repos",
  "events_url": "https://api.github.com/users/douglascrockford/events{/privacy}",
  "received_events_url": "https://api.github.com/users/douglascrockford/received_events",
  "type": "User",
  "site_admin": false,
  "name": "Douglas Crockford",
  "company": null,
  "blog": "http://www.CROCKFORD.com/",
  "location": null,
  "email": null,
  "hireable": null,
  "bio": "I was born in Frostbite Falls, Minnesota. I left when I was 6 months old because it was too damn cold.",
  "public_repos": 14,
  "public_gists": 0,
  "followers": 16801,
  "following": 0,
  "created_at": "2010-05-02T22:59:49Z",
  "updated_at": "2018-06-21T16:38:04Z"
}

 

 

 

반응형

'Development > Git, PM' 카테고리의 다른 글

private 저장소의 작업 내역 Github 잔디에 표시하기  (0) 2020.03.14
VisualSVNSERVER - install(설치하기)  (0) 2020.03.08
Redmine 프로젝트 관리  (0) 2020.02.26
Pull requests  (0) 2020.02.20
Subversion(SVN)  (0) 2020.02.15