The usual activities a client performs when they login into the website: look at their translations, cancel them, check their status, insert new texts, etc. etc.
The API’s base url is http://api.babelic.com/v1.svc. The username and password are the same ones you use to login normally, and if you wish to use the API you must let us know so we can activate your account. Otherwise, you will not be able to use it. The API is based on REST, which returns results in XML or JSON format, depending on the type specified in your request.In the returns, besides the parameters, we assign a value to the http status code, so you must check it as well. The format of the text inserted and returned is HTML, so in order to insert a new line you must add a label . You can also include links, etc. etc.
The username and password to access the API are the same ones you use to access the web with a browser. You login using HTTP basic authentication. We do not use API keys or any other kind of system like OAuth.
Customers/Translations:Returns all translations to the client.
Customers/Translations/show: Returns a translation
Customers/Balance: Returns the client’s balance. In other words, the account money they will use to pay for translations.
Customers/translations/cancel: Cancels a translation job
Customers/translations/new: Create a new translation
Examples are given in XML format, but it is also possible to receive these messages in JSON
Object TranslationDataType:
Possible types of idStatus:
Possible types of idLanguagePairs: