# 名言警句每日一言接口API

一个免费的帮助你获取名言警句每日一言接口API

# 一、使用步骤

# 1、接口

# 重要提示:建议使用https协议,当https协议无法使用时再尝试使用http协议

请求方式: POST

http(s)://luckycola.com.cn/tools/yiyan
1

# 2、请求参数

序号 参数 是否必须 说明
1 ColaKey 唯一验证ColaKey, 可前往官网获取(http(s): //luckycola.com.cn (opens new window))

注意!!!: 如果您还没有Colakey,请先请前往官网获取 官网地址:http(s): //luckycola.com.cn/ (opens new window)

# 二、 案例和demo

响应返回例子

{
	// 接口成功
    "code": 0,
    "msg": "一言获取成功",
    "data": {
        "sid": "4906",
        // 语音版mp3
        "tts": "https://staticedu-wps.cache.iciba.com/audio/e02f1cb9933876badd4a4f0b4973f3d5.mp3",
        //英语格式
        "content": "To sin by silence when we should protest makes cowards out of men.",
        // 中文格式
        "note": "应该抗议时却保持沉默,这种罪过使人成为懦夫。",
        "love": "0",
        "translation": "新版每日一句",
        "picture": "https://staticedu-wps.cache.iciba.com/image/ca119634a6bb74e27bf5b422acd5c58b.jpg",
        "picture2": "https://staticedu-wps.cache.iciba.com/image/f477e4f959ad22efc5d25574f16fdf3c.jpg",
        "caption": "词霸每日一句",
        "dateline": "2023-07-27",
        "s_pv": "0",
        "sp_pv": "0",
        "fenxiang_img": "https://staticedu-wps.cache.iciba.com/image/9342d4fb53b3ca17f62e0a84b4c35f1a.jpg",
        "picture3": "https://staticedu-wps.cache.iciba.com/image/fd2987711a2d8dd90d63be5fb4649ead.jpg",
        "picture4": "https://staticedu-wps.cache.iciba.com/image/38fa31a0cd8204d94e1b4cee921ab3d7.jpg",
        "tags": []
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Last Updated: 8/31/2023, 10:54:43 PM