https://xxyh.xiaoli.icu/api/p_couplet.phphttps://xxyh.xiaoli.icu/api/p_couplet.php?count=1type 可按春联、寿联、婚联、格言联、名联筛选,不传随机。返回 up 上联、down 下联、type 类型。
可用类型随返回的 types 字段给出。
适合做春节活动页、祝福卡片、书法素材。
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
type |
string | 选填 | — | 春联/寿联/婚联/格言联/名联 |
count |
int | 选填 | 1 | 返回条数 |
https://xxyh.xiaoli.icu/api/p_couplet.php
此处将显示接口返回结果…
{
"code": 200,
"msg": "ok",
"data": {
"up": "天增岁月人增寿",
"down": "春满乾坤福满门",
"type": "春联"
},
"types": ["春联", "寿联", "名联", "格言联", "婚联"]
}
—