Skip to main content
我们经常发布文档更新,此页面的翻译可能仍在进行中。 有关最新信息,请访问
英语文档
。
GitHub 文档
Version:
Free, Pro, & Team
搜索 GitHub Docs
REST API
/
指标
All products
REST API
API Version:
2022-11-28 (latest)
快速入门
概述
Guides
REST API 参考
操作
活动
应用
计费
分支
检查
行为准则
代码扫描
Codespaces
协作者
提交
Dependabot
依赖项关系图
部署密钥
部署
表情符号
Gists
Git 数据库
Gitignore
交互
问题
许可证
Markdown
元数据
指标
社区
统计信息
交通
迁移
组织
包
页
Projects (classic)
拉取
速率限制
反应
发行版本
存储库
搜索
机密扫描
Teams
用户
仓库 web 挂钩
REST API 现已经过版本控制。
有关详细信息,请参阅“
关于 API 版本控制
”。
REST API
/
指标
指标
使用 REST API 检索存储库的社区配置文件、统计信息和流量。
Community 指标
Get community profile metrics
存储库统计信息
Get the weekly commit activity
Get the last year of commit activity
Get all contributor commit activity
Get the weekly commit count
Get the hourly commit count for each day
存储库流量
Get repository clones
Get top referral paths
Get top referral sources
Get page views