1
例如,對於用戶:django
,我想要檢索通的github-API的URL不是github api是否提供獲取用戶URL的方法?
https://github.com/django
但
http://www.djangoproject.com/
,在紅色橢圓如下所示:
用戶搜索api在響應中不返回此url。
例如,對於用戶:django
,我想要檢索通的github-API的URL不是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是在博客領域。