Verbingo Api

Introduction:

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.

Translate concepts:

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:

Operations Descripation
Translate Translates source text from source language to target language
Languages List the source and target languages supported by the translate methods

Calling styles:

  • UsingRest directly

REST:

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.

Setup:

  • 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);

curl_close($handle);

$verbingoTranslation = $responseDecoded[‘data’][‘translations’][0][‘translatedText’];

Echo $verbingoTranslation

Code Snapshot for Getting Verbingo Supported Language

$url = http://6vbs-ww5x.accessdomain.com/verbingodev/sanboxVerbingoApi/index.php/VerbingoLanguages/getVerbingoLanuages/
ApiKey/$handle = curl_init($url);curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($handle);

$responseDecoded = json_decode($response, true);curl_close($handle);

$verbingolanguages = $responseDecoded[‘data’][‘translations’][0][‘languages’];

print_r(verbingolanguages );

Verbingo Api supported Languages:

 

Afafrikaans Amharic Arabic Armenian Assamese Australian Azerbaijani
Baluchi Belarusian Bengali Bosnian Bulgarian Burmese Cambodian
Catalan Chinese Croatian Damara Danish Dari Dinka
Dogri Dutch English(UK) English(US) Estonian Farsi Fijian
Finnish French Georgian German Greek Greenlandic Gujarati
Haitian Hausa Hebrew Hindi Hmong Hungarian Icelandic
Igbo Indonesian Italian Japanese Kannada Kazakh Khmer
Kikuyu Korean Kurdish Kyrgyz Laotian Latin Latvian
Lithuanian Macedonian Malagasy Malasgasy Malay Malayalam Marathi
Marshallese Masai Mizo Mongolian Nahuatl Ndebele Nepali
Norwegian Oromo Pedi Polish Portuguese Portuguese(Brazilian) Punjabi
Pushto Romanian Russian Sanskrit Serbian Shona Sindhi
Singha Singhalese Siswati Slovak Slovene Somali Sotho
Spanish Swahili Swedish Tagalog Tamil Tatar Telegu
Thai Tibetan Tswana Turkish Turkmen Ukrainian Urdu
Vietnamese Xhosa Yiddish Zulu

For Suggestion and Improvement feel free To Contact Us