Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议简要介绍一下这些用户 #1

Open
weiwang94 opened this issue Apr 18, 2019 · 3 comments
Open

建议简要介绍一下这些用户 #1

weiwang94 opened this issue Apr 18, 2019 · 3 comments

Comments

@weiwang94
Copy link

看的时候只有用户名,没有简要描述,阅历不深的人,无法快速找到自己想看相关领域的人

@jaywcjlove
Copy link
Owner

@weiwang94 目前获取到如下数据,要展示哪些呢?

{
  "login": "ruanyf",
  "id": 905434,
  "node_id": "MDQ6VXNlcjkwNTQzNA==",
  "avatar_url": "https://avatars0.githubusercontent.com/u/905434?v=4",
  "gravatar_id": "",
  "url": "https://api.github.com/users/ruanyf",
  "html_url": "https://github.com/ruanyf",
  "followers_url": "https://api.github.com/users/ruanyf/followers",
  "following_url": "https://api.github.com/users/ruanyf/following{/other_user}",
  "gists_url": "https://api.github.com/users/ruanyf/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/ruanyf/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/ruanyf/subscriptions",
  "organizations_url": "https://api.github.com/users/ruanyf/orgs",
  "repos_url": "https://api.github.com/users/ruanyf/repos",
  "events_url": "https://api.github.com/users/ruanyf/events{/privacy}",
  "received_events_url": "https://api.github.com/users/ruanyf/received_events",
  "type": "User",
  "site_admin": false,
  "score": 1,
  "rank": 1,
  "name": "Ruan YiFeng",
  "company": null,
  "blog": "https://twitter.com/ruanyf",
  "location": "Shanghai, China",
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 55,
  "public_gists": 26,
  "followers": 50829,
  "following": 0,
  "created_at": "2011-07-10T01:07:17Z",
  "updated_at": "2019-04-14T14:52:27Z"
}

@weiwang94
Copy link
Author

拙见,新增两个字段,所在领域,简要描述可能会好一些

@jaywcjlove
Copy link
Owner

@weiwang94 这个是通过 GitHub API 获取的,有可能排名有变化,不过可以手工添加,进行组合。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants