例如,对于 user: django
,我想通过 github-api 检索的 url 不是
https://github.com/django
但
http://www.djangoproject.com/
如下图红色椭圆所示:
用户搜索 api 不会在响应中返回此 url。
例如,对于 user: django
,我想通过 github-api 检索的 url 不是
https://github.com/django
但
http://www.djangoproject.com/
如下图红色椭圆所示:
用户搜索 api 不会在响应中返回此 url。
从服务返回的数据如下:
https://api.github.com/users/django
{
"public_gists": 0,
"type": "Organization",
"followers": 240,
"login": "django",
"created_at": "2008-10-06T19:43:18Z",
"html_url": "https://github.com/django",
"avatar_url": "https://secure.gravatar.com/avatar/fd542381031aa84dca86628ece84fc07?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png",
"company": null,
"email": null,
"blog": "http://www.djangoproject.com/",
"following": 0,
"name": "Django",
"location": "Internet",
"url": "https://api.github.com/orgs/django",
"id": 27804,
"public_repos": 49
}
如您所见,该 URL 在博客字段中。