登入
請求頭
參數
body
LuckData API-Key
Please Input
LuckData API-Host
Please Input
本測試默認消耗 1 個積分
接口描述
Tranlate Text
Code Snippets
Example Responses
Results
Target:
Python
Client:
requests
import requests

headers = {
    'X-Luckdata-Api-Key': ''
}

json_data={
    "to": "ja",
    "from": "auto",
    "text": "hello world"
}

response = requests.post(
    '/api/google-translate-api/kzwlybc08w9j',
    headers=headers,
    json=json_data,
)
print(response.json())