menu 已己API - 快速稳定的免费API调用平台 文章列表
short_text
翻译
keyboard_arrow_down
question_answer
QQ类
keyboard_arrow_down
desktop_mac
access_time
picture_in_picture_alt

多类型短句接口

使用教程


请求地址 https://api.fenx.top/api/hitokoto

返回数据 HTML:https://api.fenx.top/api/hitokoto/hi/index.html

Example

调用效果

加载中...

						<div id="hitokoto-content">加载中...</div>
<script src="https://api.fenx.top/api/hitokoto/script.js" charset="utf-8"></script> 
					

请求参数

参数名称 类型 描述 默认值
code 字符串 指定要获取的一言类型,对应不同的文本分类。可选值为 1-18 的数字。 "1"
encode 字符串 返回格式,决定 API 响应的数据格式。可选值为 "text"、"js" 或 "json"。 "text"
charset 字符串 响应内容的字符编码。可选值为 "utf-8" 或 "gbk"。 "utf-8"

本站由 Umami 提供网站访问数据统计服务 · 由 蜜蜂图床 提供图像服务