英汉互译
<<返回首页
#接口地址
http://api.5qmn.com/api/trans.php
#返回格式
TEXT、JSON
#请求方式:
GET、POST
#请求示例(JSON输出):
http://api.5qmn.com/api/trans.php?msg=tomorrow&type=json
#参数说明
参数名
是否必填
参数类型
说明
msg
否
string
要翻译的内容
type
否
string
要输出的格式,可选:text、json
#返回数据
{"code":100,"msg":"有道翻译成功!","text":"tomorrow","translate":"明天"}
Copyright © 2022.
青木倪API聚合站
All rights reserved.