This document is intended for developers who want to write applications that can interact with the Verbning Translate Api. Verbning Translate Api is a tool that automatically translates text from one language to another language (e.g. English to French). You can use the Verbning Translate Api API to programmatically translate text in your webpages or apps.
Verbning Translate Api is a tool that automatically translates text from one language to another language. The source text is the text to be translated. The source language is the language that the source text is written in. The target language is language that the source text is translated into.
Translate API operations:
There are three methods to invoke in the Verbning Translate Api:
|Translate||Translates source text from source language to target language|
|Languages||List the source and target languages supported by the translate methods|
- UsingRest directly
REST, or Representational State Transfer, in the Verbingo Translate is somewhat different from traditional REST. Instead of providing access to resources, the API provides access to a service. As a result, the API provides a single URI that acts as the service endpoint.
- To get started using Verbning Translate Api, you need to first create Verbingo Translation Api
- The specific format for the single Verbning Translate Api URI is:
http://6vbs-ww5x.accessdomain.com/verbingodev/sanboxVerbingoApi/index.php/VerbingoApi/getSegmentTranslation/ApiKey/your contents/Source Language/ Source Language /Response Type”
Code Snapshot for Getting Sandbox Translation:
|http://6vbs-ww5x.accessdomain.com/verbingodev/sanboxVerbingoApi/index.php/VerbingoApi/getSegmentTranslation/ApiKey/your contents/Source Language/ Source Language /Response Type”
$handle = curl_init($url);
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true)
;$response = curl_exec($handle);
$responseDecoded = json_decode($response, true);
$verbingoTranslation = $responseDecoded[‘data’][‘translations’][‘translatedText’];
Code Snapshot for Getting Verbingo Supported Language