中文 英文 韩语 日语
1、api接口整合
搏天:https://api.btstu.cn/
樱道:https://api.r10086.com/
樱花:https://www.dmoe.cc/
保罗:https://api.paugram.com/
EEE.DOG:https://api.yimian.xyz/
东方Project:https://img.paulzzh.tech/
likepoems随机图:https://api.likepoems.com/
Unsplash Image:https://source.unsplash.com/
缙哥哥博客: https://api.dujin.org/pic/yuanshen/
LoliAPI:https://www.loliapi.com/
2、api网站整合
2.1 搏天
网址:https://api.btstu.cn
调用地址:https://api.btstu.cn/sjbz/api.php
网站中有很多的接口,建议返回原站查询。
2.2 樱道
网址:https://img.r10086.com
调用地址:
https://api.r10086.com/樱道随机图片api接口.php?自适应图片系列=原神
网站中有很多的接口以及接口地址经常变更,建议返回原站查询。
2.3 樱花
网址:https://www.dmoe.cc
调用地址:
https://www.dmoe.cc/random.php
网站中有很多的接口,建议返回原站查询。
2.4 保罗
网址:https://api.paugram.com
调用地址:https://api.paugram.com/wallpaper/
网站中有很多的接口,建议返回原站查询。
2.5 EEE.DOG
网址:https://api.yimian.xyz
调用地址:https://api.yimian.xyz/img/
网站中有很多的接口,建议返回原站查询。
2.6 东方Project
网址:https://img.paulzzh.tech
调用地址:https://img.paulzzh.com/touhou/random
网站中有很多的接口,建议返回原站查询。
2.7 likepoems随机图
网址:https://api.likepoems.com
调用地址:
二次元PC壁纸:https://api.likepoems.com/img/pc
二次元PE壁纸:https://api.likepoems.com/img/pe
mc酱壁纸:https://api.likepoems.com/img/mc
pixiv壁纸:https://api.likepoems.com/img/pixiv
nature壁纸:https://api.likepoems.com/img/nature
必应壁纸:https://api.likepoems.com/img/bing
2.8 Unsplash Image
网址:https://source.unsplash.com/
调用地址:https://source.unsplash.com/random
2.9 缙哥哥博客
网址:https://api.dujin.org/pic/yuanshen/
调用地址:https://api.dujin.org/pic/yuanshen/
2.10 LoliAPI
网址:https://www.loliapi.com/
调用地址:https://www.loliapi.com/acg/
网站中有很多的接口,建议返回原站查询。
3、怎么自制随机图
3.1 普通的随机图
准备图片—>书写路径—>书写php文件
在img文件夹里新建img.txt,文件中直接写图片的URL地址,如:
新建index.php文件。文件内容如下: $pic])); default: die(header("Location: $pic")); } ?>
和上面的一样,只是请求的是微博的图片。
请求示例:
你的域名/api/img?return=json 返回json格式
你的域名/api/img 返回普通图片
————————————————
版权声明:本文为CSDN博主「likepoems」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/likepoems/article/details/123924270
叨叨几句... NOTHING