图虫图片获取
获取图虫图片
接口介绍
请求方式:
GET返回格式:
JSON
接口地址:
https://api.szfx.top/tuchong/
请求示例:
https://api.szfx.top/tuchong/?url=https://tuchong.com/3857349/22564875/&type=json
请求参数
| 参数 | 参数值 | 必填 | 说明 |
|---|---|---|---|
| url | url | 是 | 图虫页面链接 |
| type | json | 否 | 返回json数据,默认返回html页面 |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| code | string | 返回状态码 |
| list | json | 图片列表 |
返回示例
{
"code": "200",
"list": [
"https://photo.tuchong.com/3857349/f/637338477.jpg",
"https://photo.tuchong.com/3857349/f/349373264.jpg",
"https://photo.tuchong.com/3857349/f/525796175.jpg"
]
}
代码示例
<div style="padding-bottom: 24%;width: 100%;position: relative"><iframe src="https://api.szfx.top/tuchong/?url=https://tuchong.com/3857349/22564875/" frameborder="0" width="600" height="400" style="position: absolute;width: 100%;height: 100%"></iframe></div>