每日随机壁纸接口

puyuetian 发布于: 文档说明 , 2021-11-16

请求地址:https://www.hadsky.net/zhanzhang/service?request=random_wallpaper

请求方式:GET/POST
返回数据:JSON
请求参数:

参数

必需

参考值

说明

format

json

默认301至图片地址,可选:json/string


请求举例:

https://www.hadsky.net/zhanzhang/service?request=random_wallpaper&format=json
JSON格式返回举例:

{"code":1,"time":1637048308,"msg":"获取成功","data":{"url":"https://www.bing.com/th?id=OHR.HogwartsExpress_ZH-CN2774508923_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp"}}

发表评论
评论列表
加载更多