Skip to main content

Batch Text/HTML Translation

ภาพรวม API

  • ผลลัพธ์ของการแปลแบบเป็นชุด

API URL

พารามิเตอร์คำขอ

Body

ฟิลด์ประเภทคำอธิบายจำเป็น
formatstringค่าที่เลือกได้: text,html
ค่าเริ่มต้น: text
เท็จ
fromLangstringSource language, two-letter language code(ISO 639-1 standard), default value: auto
เท็จ
toLangstringTarget language, two-letter language code(ISO 639-1 standard)
จริง
sourceTextMapobjectKey-value pair format
key is the unique identifier of the text to be translated, can be used to correspond to source text,
value is the text to be translated.
eg.: { "1": "男士T恤衫", "2": "夏季裙子"}
จริง
scenestringTranslation scene, optional values:
title(product title)
description(product detailed description)
chat(for the communication scenario with e-commerce buyers and sellers)
other(other common scenarios)
จริง

การยืนยันตัวตน

tip

กรุณาไปที่ คอนโซล-ศูนย์บัญชี เพื่อรับ apiToken ของคุณ

เพิ่ม apiToken ของคุณลงในพารามิเตอร์คำขอ และโปรดดูตัวอย่างด้านล่าง

ตัวอย่างคำขอ

ตัวอย่างการตอบกลับ

Loading...