
为什么说是不一样的随机图片API呢?
以本站为例,当你用手机访问本站时,本站背景随机图片则显示手机墙纸图片,当你电脑访问时则背景显示电脑墙纸图片,很不一样吧
当手机端访问自动采用手机端墙纸,当电脑端访问自动采用电脑端墙纸
API基本调用格式:
参数:
JSON调用格式
JSON数据
https://acg.toubiec.cn/random
type=json
https://acg.toubiec.cn/random?return=json
{
"code":"200" #图片状态码 "acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkfy08umj31kw0w0nng.jpg" #图片地址 "width":"2048" #图片宽 "height":"1152" #图片高 }
转自@顾轩
Awesome things here. I am very happy to see your article.
Thank you a lot and I'm having a look forward to touch you.
Will you kindly drop me a e-mail?