星河泪随机图片API

说明文档

此API通过识别不同的设备随机调取两个库里面的不同内容

桌面端图片数量:0094 张

移动端图片数量:0213 张

1、随机图片API地址

访问地址: https://example.net/api ,跳转至图片地址

访问地址: https://example.net/api/windows.php ,跳转至电脑横版图片地址

访问地址: https://example.net/api/android.php ,跳转至手机竖版图片地址

指定访问: https://example.net/api/?id=数字 ,跳转至指定图片

指定示例: https://example.net/api/?id=3 ,这便是id为3的指定图片地址

2、RAW访问

桌面端RAW访问地址: https://example.net/api/windows.php?raw

移动端RAW访问地址: https://example.net/api/android.php?raw

服务器读取后输出,默认关闭

3、输出json

桌面端输出json: https://example.net/api/windows.php?json

移动端输出json: https://example.net/api/android.php?json

桌面端输出json示例: https://example.net/api/windows.php?id=3&json

移动端输出json示例: https://example.net/api/android.php?id=3&json

输出json

{"id":3,"url":"https:\/\/img.xinghelei.top\/i\/1\/2023\/12\/04\/\u6597\u7834\u82cd\u7a79_\u5c0f\u533b\u4ed9_01_20231204.jpg"}