每日一句励志英语API-API接口
输出金山词霸每日一句的励志英语

接口地址: http://api.98dou.cn/api/dailyenglish

返回格式: JSON

请求方式: GET

请求示例: http://api.98dou.cn/api/dailyenglish 调用测试

请求参数说明:

名称 是否必填 类型 说明 接口测试
type sj 随机输出一段励志英语 调用测试

返回参数说明:

名称 类型 说明

返回示例:

{
    "code": 200,
    "msg": "每日一句英语",
    "data": {
        "time": "2024-08-22",
        "sid": "5325",
        "tts": "https://staticedu-wps.cache.iciba.com/audio/23c00f0a7aca8af390e52eceaca82e60.mp3",
        "en": "You're the only one who can save us now. — The 100 ",
        "zh": "你是唯一能拯救我们的人。 —《100%生存》",
        "haibao-1": "https://staticedu-wps.cache.iciba.com/image/ac7d4f2ef38caaf31d44202be7e7997e.png",
        "haibao-2": "https://staticedu-wps.cache.iciba.com/image/71997fa082318cf15234c9eaacfec25d.jpg",
        "fenxiang_img": "https://staticedu-wps.cache.iciba.com/image/b6572172a0002a58c28f566b2e8c5722.png",
        "author": "觅知博客www.98dou.cn提供技术支持"
    }
}

请求参数设置:

参数名称 参数值


{
    "code": 200,
    "msg": "每日一句英语",
    "data": {
        "time": "2024-08-22",
        "sid": "5325",
        "tts": "https://staticedu-wps.cache.iciba.com/audio/23c00f0a7aca8af390e52eceaca82e60.mp3",
        "en": "You're the only one who can save us now. — The 100 ",
        "zh": "你是唯一能拯救我们的人。 —《100%生存》",
        "haibao-1": "https://staticedu-wps.cache.iciba.com/image/ac7d4f2ef38caaf31d44202be7e7997e.png",
        "haibao-2": "https://staticedu-wps.cache.iciba.com/image/71997fa082318cf15234c9eaacfec25d.jpg",
        "fenxiang_img": "https://staticedu-wps.cache.iciba.com/image/b6572172a0002a58c28f566b2e8c5722.png",
        "author": "觅知博客www.98dou.cn提供技术支持"
    }
}

错误码格式说明:

名称 类型 说明

代码示例:

https://api.98dou.cn/api/dailyenglish
https://api.98dou.cn/api/dailyenglish?type=sj