RESTFUL工具之Firefox的RESClient

本文详细介绍了如何使用GitHub API来获取用户信息。通过实例演示了API调用的具体流程,并展示了API返回的JSON数据,包括用户登录名、ID、头像URL、关注者链接等详细信息。

测试api采用github的

注意:

1.github的api是区分大小写的

 

具体测试流程:

https://api.github.com/users/i3344

{
  "login": "i3344",
  "id": 59394179,
  "node_id": "MDQ6VXNlcjU5Mzk0MTc5",
  "avatar_url": "https://avatars2.githubusercontent.com/u/59394179?v=4",
  "gravatar_id": "",
  "url": "https://api.github.com/users/i3344",
  "html_url": "https://github.com/i3344",
  "followers_url": "https://api.github.com/users/i3344/followers",
  "following_url": "https://api.github.com/users/i3344/following{/other_user}",
  "gists_url": "https://api.github.com/users/i3344/gists{/gist_id}",
  "starred_url": "https://api.github.com/users/i3344/starred{/owner}{/repo}",
  "subscriptions_url": "https://api.github.com/users/i3344/subscriptions",
  "organizations_url": "https://api.github.com/users/i3344/orgs",
  "repos_url": "https://api.github.com/users/i3344/repos",
  "events_url": "https://api.github.com/users/i3344/events{/privacy}",
  "received_events_url": "https://api.github.com/users/i3344/received_events",
  "type": "User",
  "site_admin": false,
  "name": null,
  "company": null,
  "blog": "",
  "location": null,
  "email": null,
  "hireable": null,
  "bio": null,
  "public_repos": 1,
  "public_gists": 0,
  "followers": 0,
  "following": 0,
  "created_at": "2019-12-31T14:15:18Z",
  "updated_at": "2019-12-31T23:44:29Z"
}

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值