https://api.andeer.top/API/txt_ysyy.php
https://api.andeer.top/API/txt_ysyy.php
伊索寓言
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 此接口无需请求参数 | |||
| 状态码 | 说明 |
|---|---|
| 200 | 请求成功,服务器已成功处理了请求。 |
| 403 | 服务器拒绝请求。这可能是由于缺少必要的认证凭据(如API密钥)或权限不足。 |
| 404 | 请求的资源未找到。请检查您的请求地址是否正确。 |
| 429 | 请求过于频繁。您已超出速率限制,请稍后再试。 |
| 500 | 服务器内部错误。服务器在执行请求时遇到了问题。 |
此处将显示接口返回结果...
<?php
$url = 'https://api.andeer.top/API/txt_ysyy.php';
$params = [];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>import requests
url = "https://api.andeer.top/API/txt_ysyy.php"
params = {
}
response = requests.get(url, params=params)
print(response.text)const url = new URL('https://api.andeer.top/API/txt_ysyy.php');
const params = {
};
Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
fetch(url)
.then(response => response.text())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));{
"success": true,
"code": 200,
"msg": "获取成功",
"data": {
"英文标题": "THE FLEA AND THE MAN",
"中文标题": "跳蚤和人",
"英文": "A Flea bit a Man, and bit him again, and again, till he could stand it no longer, but made a thorough search for it, and at last succeeded in catching it. Holding it between his finger and thumb, he said—or rather shouted, so angry was he—\"Who are you, pray, you wretched little creature, that youmake so free with my person?\" The Flea, terrified, whimpered in a weak little voice, \"Oh, sir! pray let me go; don't kill me! I am such a little thing that I can't do you much harm.\" But the Man laughed and said, \"I am going to killyou now, at once: whatever is bad has got to be destroyed, no matter how slight the harm it does.\" Do not waste your pity on a scamp.",
"中文": "一只小跳蚤咬了一个人,并且一次又一次地不停咬他,这个人再也 忍受不了了,全身上下找了一遍之后,终于抓住了那只跳蚤。他用食指和拇指捏着跳蚤说,或者可能因为生气,几乎是怒吼道:“你是谁?你 这个让人厌恶的小生命,为何在我身上如此放肆?”受了惊吓的跳蚤小 声呜咽道:“哦,先生,求你饶了我吧,千万别捏死我!我就是一个小 东西,不会给你带来多大伤害的。”然而,那人笑着说:“我现在就要杀 死你,马上执行,只要是坏东西,就一定要被消灭,无论造成的伤害有多轻微。” 不要在无赖身上浪费同情心。 40 "
},
"text": {
"copyright": "Aurora 2022.8.14",
"time": "当前时间为:2025-03-23 21:26:00"
}
}