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是在博客领域。