背单词 RESTful Api 接口
获取单词任务
接口地址: https://3yya.com/u/{rel_key}/word/app/task
请求方式: get
请求消息头:
参数名 | 类型 | 必填 | 说明 |
---|---|---|---|
Authorization | string | 是 | token 凭证。 |
返回参数: | 参数名 | 类型 | 描述 | | --- | --- | --- | --- | |task_id| number | 任务 id。| |word_id| number | 单词 id。| |word| string | 单词。| |example_en | string | 英文例句。| |example_audio | string |例句音频地址。| |phonetic| string | 音标。| |phonetic_audio| string | 音标音频地址。|
JSON 返回示例:
{
task_id: 5,
word_id: 102,
word: "adjective",
example_en:
"In French the adjective must agree with the noun in number and gender.",
phonetic: "ˈædʒɪktɪv",
phonetic_audio: "https://qiniu.3yya.com/dict/uk/adjective.mp3",
}