Перейти к основному содержимому

Batch Text/HTML Translation

Обзор API

  • Результат пакетного перевода

URL API

Параметры запроса

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)
истина

Аутентификация

подсказка

Перейдите в Консоль-центр аккаунта чтобы получить ваш apiToken.

Добавьте ваш apiToken в параметры запроса. См. примеры ниже.

Пример запроса

Пример ответа

Loading...