github-rank icon indicating copy to clipboard operation
github-rank copied to clipboard

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

Open weiwang94 opened this issue 5 years ago • 3 comments

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

weiwang94 avatar Apr 18 '19 09:04 weiwang94

@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"
}

jaywcjlove avatar Apr 18 '19 10:04 jaywcjlove

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

weiwang94 avatar Apr 19 '19 03:04 weiwang94

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

jaywcjlove avatar Apr 19 '19 04:04 jaywcjlove