# 一言句子API接口

摘要

随机输出 动漫文学,网络鸡汤,文学诗词等文案

接口地址:

https://api.vvhan.com/api/ian/rand

请求方式:

GET

返回格式:

TXT/JSON/JS

请求示例:

https://api.vvhan.com/api/ian/rand

全部随机:

https://api.vvhan.com/api/ian/rand

动漫:

https://api.vvhan.com/api/ian/dongman

文学:

https://api.vvhan.com/api/ian/wenxue

诗词:

https://api.vvhan.com/api/ian/shici

JSON输出:

https://api.vvhan.com/api/ian/rand?type=json

JS输出:

https://api.vvhan.com/api/ian/rand?type=js

请求参数:
名称必填说明

typeJSON输出:json,JS输出:js

返回状态:
名称必填说明

success成功:true,失败:false

message返回状态描述信息

返回示例:

{"success":true,"type":"随机","data":{"id":6143,"content":"我喜欢同性的可能性只有百分之一,而你就是那百分之一,也是我的唯一。","form":"一叶知秋","creator":"残灯晓霜"}}