API Documentation
Random wallpaper
Randomly output various wallpapers
Connection Details
Method:
GET
Endpoint:
https://www.98qy.com/sjbz/api.php
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| method | NO | string | The default wallpaper output platform is [mobile|pc|zsy]. |
| lx | NO | string | Select the output category [meizi|dongman|fengjing|suiji], otherwise output a random category. |
| format | NO | string | The output wallpaper format is [json|images], with images being the default. |
Response Fields
| Parameter | Type | Description |
|---|---|---|
| code | string | Returned status code |
| imgurl | string | Return to image address |
| width | string | Return image width |
| height | string | Return image height |
Response Preview
Application/JSON
{
"code": "200",
"imgurl": "https://tva4.sinaimg.cn/large/9bd9b167gy1g2qkr95hylj21hc0u01kx.jpg",
"width": "1920",
"height": "1080"
}