//status code: 201
{
"count": 25,
"msg": "suc",
//trending repositories
"items": [
{
//the avatar link of contributors
"avatars": [
"https://avatars0.githubusercontent.com/u/16903644?v=3&s=40",
"https://avatars2.githubusercontent.com/u/8622362?v=3&s=40",
"https://avatars0.githubusercontent.com/u/10773353?v=3&s=40",
"https://avatars3.githubusercontent.com/u/6392550?v=3&s=40",
"https://avatars1.githubusercontent.com/u/3837836?v=3&s=40"
],
//repository link
"repo_link": "https://github.com/kdn251/interviews",
//repository desctiption
"desc": "Everything you need to know to get the job.",
//repository name
"repo": "kdn251/interviews",
//the repository stars count
"stars": "5,772",
//the repository forks count
"forks": "539",
//the language of repository
"lang": "Java",
//the repository stars count for tody or this week or this month
"added_stars": "4,591 stars this week"
},
.
.
.
]
}
Get the trending developers
request address like this:
/developer
If the language contains '#',you must use '-shuo' to replace it.
Parameters
Name
Type
Description
lang
string
optional, get method parameter, maybe it is the major language of the developer
since
string
optional,get method parameter,default is daily,others is weekly,monthly
//status code: 201
{
"count": 25,
"msg": "suc",
//the trending developers
"items": [
{
//the username in GitHub of this developer
"user": "google",
//the main page in GitHub of this developer
"user_link": "https://github.com/google",
//the full name of this developer
"full_name": "(Google)",
//the avatar url of the developer
"developer_avatar": "https://avatars1.githubusercontent.com/u/1342004?v=3&s=96"
},
.
.
.
]
}
Get all the all the avialiable trending languages in GitHub.
请发表评论