Skip to content

随机9张壁纸

接口地址

javascript
https://tea.qingnian8.com/api/bizhi/randomWall
https://tea.qingnian8.com/api/bizhi/randomWall

请求方式

javascript
GET
GET

请求参数

javascript

秘钥验证

参数名参数值是否必填参数类型描述说明
access-key123456String放到请求头(Header)里面。
微信扫码看广告,获得秘钥参数。

响应示例

javascript
{
	"errCode": 0,
	"errMsg": "查询成功",
	"data": [
		{
			"description": "可爱的萌宠动物柯基犬,在森林中。图片来源:花瓣网@yunque",
			"classid": "6524a48f6523417a8a8b825d",
			"smallPicurl": "https://mp-0cb878b7-99ec-44ea-8246-12b123304b05.cdn.bspapp.com/xxmBizhi/20231102/1698905562410_0_small.webp",
			"tabs": [
				"柯基",
				"狗狗",
				"宠物"
			],
			"_id": "65433e0e8b0da47be10a0396",
			"score": "5",
			"nickname": "小丸子O"
		}
	],	
	"timeCost": 59
}
{
	"errCode": 0,
	"errMsg": "查询成功",
	"data": [
		{
			"description": "可爱的萌宠动物柯基犬,在森林中。图片来源:花瓣网@yunque",
			"classid": "6524a48f6523417a8a8b825d",
			"smallPicurl": "https://mp-0cb878b7-99ec-44ea-8246-12b123304b05.cdn.bspapp.com/xxmBizhi/20231102/1698905562410_0_small.webp",
			"tabs": [
				"柯基",
				"狗狗",
				"宠物"
			],
			"_id": "65433e0e8b0da47be10a0396",
			"score": "5",
			"nickname": "小丸子O"
		}
	],	
	"timeCost": 59
}
参数名参数类型描述说明
errCodeInteger0:成功
400:请求失败
errMsgString查询结果描述
timeCostInteger接口消耗时间
dataArray详情数组,见下

data参数

参数名参数类型描述说明
descriptionString壁纸描述
classidString壁纸所属分类ID
smallPicurlString缩略小图;
大图不返回,只需将后缀_small.webp替换成.jpg即可
tabsArray标签组
scoreString评分
_idString唯一id
nicknameString发布者昵称

咸虾米API接口率属于青年帮网络,免费提供学习及开发的接口需求,如有侵权请联系QQ:513894357