english_learning
    english_learning
    • 单词查询v2
      GET

      单词查询v2

      GET
      https://eng-api.devxiang.com/enword/get

      请求参数

      Query 参数
       word
      string 
      英文单词
      可选
      示例值:
      hello

      返回响应

      🟢200成功
      application/json
      Body
      code
      integer 
      必需
      0为成功;大于0为失败;
      message
      string 
      返回信息
      必需
      data
      object 
      必需
      返回数据;一般为对象;没有值时返回null;
      id
      integer 
      单词id
      必需
      word
      string 
      英文单词
      必需
      audio
      string 
      音频地址
      必需
      translation
      string 
      中文解释
      必需
      phonetic
      string 
      音标
      必需
      示例
      {
          "code": 0,
          "message": "成功",
          "data": {
              "id": 59158,
              "word": "morning",
              "audio": "https://dict.youdao.com/dictvoice?audio=morning&type=2",
              "translation": "n.早晨,上午",
              "phonetic": "'mɔːnɪŋ"
          }
      }
      Built with