这些数据是从GitHub提供的接口来的,地址是https://developer.github.com/v3/
数据整理出来希望可以帮助到您。
API的hostname是https://api.github.com
官方地址:https://developer.github.com/v3/search/#search-users
作用:Search users ,依照参数规则可以产生用户排名 API简单说明:GET /search/users
示例:
世界users排名objective-c followers
https://api.github.com/search/users?q=language:objective-c&sort=followers&order=desc
中国users排名objective-c followers
https://api.github.com/search/users?sort=followers&page=1&q=location:china+language:Objective-C
中国users排名不分语言 followers
https://api.github.com/search/users?q=location:china&sort=followers&page=2
城市users排名不分语言 followers
https://api.github.com/search/users?sort=followers&page=1&q=location:guangzhou
城市users排名分语言objective-c followers
https://api.github.com/search/users?sort=followers&page=1&q=location:beijing+language:Objective-C
https://api.github.com/search/users?q=coderyi
官方地址:https://developer.github.com/v3/search/#search-repositories
作用:Search repositories,依照参数规则可以产生仓库排名 API简单说明:GET /search/repositories
示例:
世界仓库排名objective-c stars
https://api.github.com/search/repositories?q=language:objective-c&sort=stars&order=desc
官方地址:https://developer.github.com/v3/users/#get-a-single-user
作用:Get a single user
API简单说明:GET /users/:username
示例:
某用户的详细信息 https://api.github.com/users/coderyi
官方文档地址:https://developer.github.com/v3/repos/#list-user-repositories 作用:List user repositories
API简单说明:GET /users/:username/repos
示例:
查看某个人的所有项目
https://api.github.com/users/coderyi/repos?sort=updated
官方文档地址:https://developer.github.com/v3/users/followers/#list-followers-of-a-user
API简单说明:GET /users/:username/followers
示例:
粉丝
https://api.github.com/users/coderyi/followers
官方文档地址:https://developer.github.com/v3/users/followers/#list-users-followed-by-another-user
API简单说明:GET /users/:username/following
示例:
关注
https://api.github.com/users/coderyi/following
官方文档地址:https://developer.github.com/v3/repos/#get
API简单说明:GET /repos/:owner/:repo
示例:
查看项目详细
https://api.github.com/repos/coderyi/yirefresh
官方文档地址:https://developer.github.com/v3/repos/#list-contributors
作用:List contributors
API简单说明:GET /repos/:owner/:repo/contributors
示例:
查看项目所有contributors
https://api.github.com/repos/aufree/trip-to-iOS/contributors
官方文档地址:https://developer.github.com/v3/repos/forks/#list-forks
作用:List forks
API简单说明: GET /repos/:owner/:repo/forks
示例:
https://api.github.com/repos/coderyi/yiswitch/forks
官方文档地址:https://developer.github.com/v3/activity/starring/#list-stargazers
作用:List Stargazers
API简单说明:GET /repos/:owner/:repo/stargazers
示例: 项目的stargazers(在activity那部分)