返回 | 接口 / 文案语录 / 名言警句
GET 文案语录

名言警句

名言警句

累计调用 9 今日调用 0

更新于 2026-10-16

调用地址

GET
https://itapi.top/api/Saying

请求参数

参数名类型必填说明示例
type string 可选 返回格式 暂无
0 string 可选 参考type 暂无

返回字段

字段名类型说明
code number 状态码
message string 返回内容
data array 返回数据
data.content string 名言内容
data.time string 名言时间
data.from string 名言来源
data.Image string 名言配图

响应示例

200 OK
{"code":1,"message":"一个人倘若经常跳出来看一看人生的全景,真正看清事物的大小和价值的主次,就不太会被那些渺小的事物和次要的价值绊倒了。\t\t——周国平","data":{"Image":"http:\/\/jhyiyan.oss-cn-beijing.aliyuncs.com\/2020\/11\/03\/7df8dd2cdc7484b9fdae6a14a31f245e.jpg","time":"2020-11-03","from":"周国平","content":"一个人倘若经常跳出来看一看人生的全景,真正看清事物的大小和价值的主次,就不太会被那些渺小的事物和次要的价值绊倒了。"},"timestamp":1792151785195,"req_timestamp":1792151785124}

在线测试

代码示例

cURL · GET
curl "https://itapi.top/api/Saying?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0"
PHP
<?php
$res  = file_get_contents("https://itapi.top/api/Saying?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res  = await fetch("https://itapi.top/api/Saying?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests

r = requests.get("https://itapi.top/api/Saying?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())
返回接口列表