# 娱乐内容
**请求方式:** GET
**接口地址:** https://api.hk0.cc/api/fun
**接口描述:** 每日一言+历史上的今天. yiyan/hitokoto: type=a-i 分类; history: count=N 返回当日历史事件
## 请求参数
| 参数名 | 可传值说明 | 传入位置 | 是否必填 | 示例值 | 默认值 | 参数说明 |
|--------|----------|----------|----------|--------|--------|----------|
| action | string | query | 必传 | — | — | yiyan/hitokoto(每日一言)/history(历史今天), 必填 |
| type | string | query | 可选 | — | — | 一言分类 a动画..l抖机灵, 默认i诗词 |
| count | int | query | 可选 | — | — | history 返回条数, 默认14 |
## 返回示例
```json
{
"code": 200,
"msg": "success",
"data": {
"text": "只恐双溪舴艋舟,载不动许多愁。",
"from": "武陵春",
"from_who": "李清照"
}
}
```