Loading... 有道的翻译接口 支持中英文互译 ``` 请求地址:https://fanyi.youdao.com/translate?&i={要翻译的值}&doctype={返回类型} 请求方式:GET {要翻译的值}:你要翻译的内容(支持中文,英文,日语,韩语) {返回类型}:xml或者json ``` 例子: 请求地址:`https://fanyi.youdao.com/translate?&i=Hello&doctype=json` 返回: ```json {"type":"ZH_CN2EN","errorCode":0,"elapsedTime":1,"translateResult":[[{"src":"你好","tgt":"hello"}]]} ``` Last modification:September 17th, 2019 at 04:32 pm © 允许规范转载 Support 如果觉得我的文章对你有用,请随意赞赏 ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat