快速了解
完整资料
资料已展开关于 Github用户全球排名
Github 中国用户排名,全球仓库 Star 最多排名,通过 Github API v3 来生成页面数据,排行榜预览,最近还添加了 SegmentFault 思否近期热门、开发者头条最近热门分享、36Kr 快讯预览。
全球500名,小可爱,有你了吗

你也可以拷贝
js
复制代码
npm install @wcj/github-rank --save-dev
使用可以通过引入数据,来获取排名数据,也可以通过 UNPKG 直接访问用户排行榜。
js
复制代码
import users from '@wcj/github-rank';
import repos from '@wcj/github-rank/dist/repos.json';
import trendingDaily from '@wcj/github-rank/dist/trending-daily.json';
import trendingWeekly from '@wcj/github-rank/dist/trending-weekly.json';
import trendingMonthly from '@wcj/github-rank/dist/trending-monthly.json';
js
复制代码
import users from '@wcj/github-rank';
// 默认 users 输出如下数据:
[
{
"login": "jaywcjlove",
"id": 1680273,
"node_id": "MDQ6VXNlcjE2ODAyNzM=",
"avatar_url": "https://avatars1.githubusercontent.com/u/1680273?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaywcjlove",
"html_url": "https://github.com/jaywcjlove",
"followers_url": "https://api.github.com/users/jaywcjlove/followers",
"following_url": "https://api.github.com/users/jaywcjlove/following{/other_user}",
"gists_url": "https://api.github.com/users/jaywcjlove/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jaywcjlove/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaywcjlove/subscriptions",
"organizations_url": "https://api.github.com/users/jaywcjlove/orgs",
"repos_url": "https://api.github.com/users/jaywcjlove/repos",
"events_url": "https://api.github.com/users/jaywcjlove/events{/privacy}",
"received_events_url": "https://api.github.com/users/jaywcjlove/received_events",
"type": "User",
"site_admin": false,
"score": 1,
"rank": 117,
"name": "小弟调调™",
"company": "ʕ•̫͡•ʔ-̫͡-ʕ•͓͡•ʔ-̫͡-ʔ",
"blog": "http://wangchujiang.com",
"location": "Shanghai, China",
"email": "wowohoo@qq.com",
"hireable": true,
"bio": "(͡·̮̃·̃) 撸码的乐趣,“人没了,™代码还在”",
"public_repos": 78,
"public_gists": 1,
"followers": 2519,
"following": 91,
"created_at": "2012-04-26T00:30:25Z",
"updated_at": "2019-04-12T14:27:54Z"
}
]
获取数据
js
复制代码
# 获取 Github (中国/全球)用户排行榜(Top 500)
npm run get
# Github 用户获取中途失败,接着获取剩余用户信息
npm run get:users:info
# 获取 Github 趋势榜,Github 仓库排行(Top 500), sifou,36kr,toutiao 的数据
npm run get:o
如果做成这样呢?

适合的使用方向
全球500名,小可爱,有你了吗
Github 中国用户排名,全球仓库 Star 最多排名,通过 Github API v3 来生成页面数据,排行榜预览,最近还添加了 SegmentFault 思否近期热门、开发者头条最近热门分享、36Kr 快讯预览
你也可以拷贝
Github 中国用户排名,全球仓库 Star 最多排名,通过 Github API v3 来生成页面数据,排行榜预览,最近还添加了 SegmentFault 思否近期热门、开发者头条最近热门分享、36Kr 快讯预览
获取数据
Github 中国用户排名,全球仓库 Star 最多排名,通过 Github API v3 来生成页面数据,排行榜预览,最近还添加了 SegmentFault 思否近期热门、开发者头条最近热门分享、36Kr 快讯预览
收录线索
Github用户全球排名Github项目排名开发头条排名API / 云服务
资料说明
内容根据公开资料整理;版本、兼容性与服务状态请以官网最新说明为准。
