获取单个用户基本信息
开发中
GET
/info/userInfo
请求参数
Query 参数
github_id
string
可选
示例值:
yetone
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:9000/info/userInfo?github_id=yetone'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"avatar_url": "https://avatars.githubusercontent.com/u/65098966?v=4",
"bio": null,
"blog": "",
"company": null,
"created_at": "2020-05-10T01:31:31Z",
"email": null,
"events_url": "https://api.github.com/users/yan931305137/events{/privacy}",
"followers": 3,
"followers_url": "https://api.github.com/users/yan931305137/followers",
"following": 4,
"following_url": "https://api.github.com/users/yan931305137/following{/other_user}",
"gists_url": "https://api.github.com/users/yan931305137/gists{/gist_id}",
"gravatar_id": "",
"hireable": null,
"html_url": "https://github.com/yan931305137",
"id": 65098966,
"location": null,
"login": "yan931305137",
"name": null,
"node_id": "MDQ6VXNlcjY1MDk4OTY2",
"organizations_url": "https://api.github.com/users/yan931305137/orgs",
"public_gists": 0,
"public_repos": 8,
"received_events_url": "https://api.github.com/users/yan931305137/received_events",
"repos_url": "https://api.github.com/users/yan931305137/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yan931305137/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yan931305137/subscriptions",
"twitter_username": null,
"type": "User",
"updated_at": "2024-09-09T13:48:44Z",
"url": "https://api.github.com/users/yan931305137",
"user_view_type": "public"
}
修改于 2024-11-07 10:49:30