稳定、快速、免费的 API 接口服务
返回金山毒霸每日一言
接口地址: https://apis.jxcxin.cn/api/jssrc
返回格式: JSON
请求方式: GET
请求示例: https://apis.jxcxin.cn/api/jssrc
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| time | 否 | string | 需要获取的日期 |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| code | string | 返回的状态码 |
| msg | string | 返回提示信息 |
| data | string | 返回查询结果 |
| img | string | 返回一言图片 |
| content | string | 返回英文内容 |
| note | string | 返回中文内容 |
| tts | string | 返回英文语音 |
| dateline | string | 返回更新日期 |
返回示例:
{
"code": 200,
"msg": "获取成功",
"data": {
"img": "https://staticedu-wps.cache.iciba.com/image/5e71b3c1b7b15825c35195dc324cd843.jpg",
"content": "It is no use doing what you like; you have to got like what you do.",
"note": "不能爱哪行才干哪行,要干哪行爱哪行。",
"tts": "https://staticedu-wps.cache.iciba.com/audio/2e9595aa3f524321569918a9e7429bb1.mp3",
"dateline": "2022-08-16"
}
}
请求参数设置:
| 参数名称 | 参数值 | 操作 |
|---|---|---|
{
"code": 200,
"msg": "获取成功",
"data": {
"img": "https://staticedu-wps.cache.iciba.com/image/5e71b3c1b7b15825c35195dc324cd843.jpg",
"content": "It is no use doing what you like; you have to got like what you do.",
"note": "不能爱哪行才干哪行,要干哪行爱哪行。",
"tts": "https://staticedu-wps.cache.iciba.com/audio/2e9595aa3f524321569918a9e7429bb1.mp3",
"dateline": "2022-08-16"
}
}
错误码格式说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| -1 | string | 参数缺失 |
| 3200 | string | apiKey为空 |
| 3201 | string | apiKey错误 |
| 3202 | string | apiKey过期 |
| 3203 | string | 请求频繁 |
代码示例:
暂无