GitHub 总榜
GitHub 全站热门仓库总榜单,按 Star 数降序排列,可指定查看数量
接口地址
GET, POST https://api.tinyaii.cn/v1/github/top
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
count | int | 否 | 返回数量(默认10,最大100) |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码 |
total_repos | int | 匹配的仓库总数 |
count | int | 本次返回数量 |
repos | array | 仓库列表 |
repos[].rank | int | 排名 |
repos[].name | string | 仓库全名(owner/name) |
repos[].description | string | 仓库描述 |
repos[].stars | int | Star 数 |
repos[].forks | int | Fork 数 |
repos[].language | string | 主要编程语言 |
repos[].url | string | 仓库链接 |
repos[].created_at | string | 创建时间 |
repos[].updated_at | string | 更新时间 |
返回示例
{
"code": 200,
"data": {
"total_repos": 3000000,
"count": 3,
"repos": [
{
"rank": 1,
"name": "freeCodeCamp/freeCodeCamp",
"description": "freeCodeCamp.org's open source codebase",
"stars": 400000,
"forks": 37000,
"language": "TypeScript",
"url": "https://github.com/freeCodeCamp/freeCodeCamp"
}
]
}
}
调用示例
curl "https://api.tinyaii.cn/v1/github/top?apikey=YOUR_KEY&count=10"
相关接口(内容解析)
- 聚合热榜 — 聚合60+平台的实时热榜排行
- GitHub 每日热门 — 获取 GitHub 今日新创建的热门仓库 Top 10,按 Star 数排序
- 历史上的今天 — 查询历史上今天发生的重大事件,包括古代/近代/现代
- 指定日期历史 — 查询指定日期历史上发生的重大事件
- GitHub仓库查询 — 查询GitHub仓库详细信息(Star、Fork、描述等)
- GitHub用户查询 — 查询GitHub用户信息(粉丝、仓库数、简介等)
本站收录 353 个可免费调用的 API 接口,查看完整开发文档 或
注册获取 API Key。