other/text-translation

Description

  • Translate text in the specified language into Chinese.

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
languageNoYesintMessage Type
contentYesstringmessage

语言

Message Typeenumerated values
English1
Japanese3

Return Example

  {
  "type": 83
  "languageNo": 1,
  "content": "come on ! come on ! come on !"
 }

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
      "data": []
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark