This method allows authenticated users to translate plain text. Only POST method is allowed.
{
"api_key" : "<YOUR_API_KEY>",
"engine" : "apertium",
"source_language" : "fra" | "oci", | "oci_gascon",
"target_language" : "fra" | "oci", | "oci_gascon",
"content_type" : "txt" | "html" | "xml",
"text" : "<ORIGINAL_TEXT>"
}
{
"original_text" : "<ORIGINAL_TEXT>",
"translated_text" : "<TRANSLATED_TEXT>",
"words" : "<WORDS>", #Translated words,
"translation_time": "73.4", # Execution time in seconds
"language-pair": "fra-oci"
}