在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mingjunli/GithubTrending开源软件地址:https://github.com/mingjunli/GithubTrending开源编程语言:Python 100.0%开源软件介绍:Github Trending APIThis is A python API to get Github Trending(repos, developers) with Flask API Docs1, Trending ReposDesc: Get Trending repos list API: /api/github/trending/?since=(daily,weekly,monthly) Method: GET Request:
Response: A Repo list, each Repo including:
Example: Request url: http://anly.leanapp.cn/api/github/trending/java?since=weekly Response data: [{
avatar: "https://avatars3.githubusercontent.com/u/69631?v=3&s=40",
desc: "A framework for building native apps with React.",
link: "https://github.comfacebook/react-native",
owner: "facebook",
repo: "react-native",
stars: 417
},
{
avatar: "https://avatars3.githubusercontent.com/u/4239472?v=3&s=40",
desc: "A small android library to transition between a circular ImageView from one Activity to a rectangular ImageView in the launched Activity.",
link: "https://github.comvikramkakkar/ImageTransition",
owner: "vikramkakkar",
repo: "ImageTransition",
stars: 206
}] 2, Trending DevelopersDesc: Get Trending Developers list API: /api/github/trending/?since=(daily,weekly,monthly) Method: GET Request:
Response: A Developer list, each developer including:
Example: Request url: http://anly.leanapp.cn/api/github/trending/developers/java?since=weekly Response data: [{
avatar: "https://avatars3.githubusercontent.com/u/69631?v=3&s=40",
full_name: "facebook (Facebook)",
link: "https://github.com/facebook",
name: "facebook"
},
{
avatar: "https://avatars3.githubusercontent.com/u/4280789?v=3&s=40",
full_name: "wangshaolei (fearless)",
link: "https://github.com/wangshaolei",
name: "wangshaolei"
}] OtherSince I have an opensource project --- CoderPub need the github trending data, but Github DONOT provide the trending api for developer, so, wrote this project to grab the "Github Trending Page" and use BeautifulSoup to parser it, use Flask to provide the Trending API. This project already deployed at LeanCloud, (free host, has limit). You can use this URL: http://anly.leanapp.cn/ visit the api. Wish Enjoy it. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论