GET /github/user/:username
Fáðu a public GitHub user profile by username, þar á meðal display name, bio, avatar URL, company, location, public repo count, follower/following counts, and account creation date. Gagnlegt fyrir developer portfolio verkfæri, team pages that pull data from GitHub, recruitment vettvanga, and opinn hugbúnað contributor profiles. Gögn frá GitHub REST API.
username
nauðsynlegt
GitHub username
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
username |
Já | - | GitHub username |
curl https://nordapi.ee/api/v1/github/user/torvalds
curl https://nordapi.ee/api/v1/github/user/torvalds
curl https://nordapi.ee/api/v1/github/user/josevalim
curl https://nordapi.ee/api/v1/github/user/sindresorhus
{
"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
}