DOCUMENTATION
骂人语句(不带脏字)
GET
60次/分钟
https://api.71ywl.com/api/index.php?qy=mmp
在线使用
请求示例
https://api.71ywl.com/api/index.php?qy=mmp
响应示例
{
"success": true,
"quote": "你昨天是不是吃的屎壳郎啊,要不怎么满嘴喷粪"
}
返回参数
| 参数名 | 类型 | 说明 |
| success |
boolean |
请求是否成功,true表示成功 |
| quote |
string |
返回的引用内容或语录 |
响应码
| 状态码 | 说明 |
| 200 |
请求成功 |
| 203 |
秘钥错误或不存在 |
| 204 |
服务器错误 |
| 211 |
接口不存在 |
| 212 |
当前接口已下架 |
| 213 |
当前接口正处于审核期 |
| 214 |
API本地文件不存在,请联系管理员检查 |
| 215 |
管理员设置当前接口必须携带ckey请求! |
| 216 |
付费接口请携带ckey请求! |
| 217 |
ckey不存在! |
| 218 |
当前ckey无权限调用此接口,请将此接口添加到ckey调用能力中后重试! |
| 219 |
访问频率超过限制!请稍后重试! |
| 220 |
本地API逻辑错误!请联系管理员检查! |
| 221 |
状态码与管理员配置的状态码不一致,请联系管理员! |
| 222 |
禁止访问!请联系管理员 (已被加入黑名单) |
| 223 |
积分不足!请充值后重试 |
| 224 |
余额不足!请充值后重试 |
| 225 |
您已设置仅白名单ip访问!请将当前ip添加到白名单中 |
代码示例
curl
curl -X GET "https://api.71ywl.com/api/index.php?qy=mmp"
php
<?php
$url = "https://api.71ywl.com/api/index.php?qy=mmp";
$response = file_get_contents($url);
echo $response;
?>
python
import requests
url = "https://api.71ywl.com/api/index.php?qy=mmp"
response = requests.get(url)
print(response.json())
javascript
fetch("https://api.71ywl.com/api/index.php?qy=mmp")
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));