Monday, June 29, 2009

JSON

Yesterday, I added the next feature. Now, you can use JSON in order to access translation suggestions from Open-Tran. As an example consider the following request: http://en.id.open-tran.eu/json/suggest/save as. It will return a list of results encoded as JavaScript objects, but with exactly the same fields as if you retrieved the output of an XML-RPC call (see our API documentation) of suggest2('en', 'id', 'save as'). Refer to a commented excerpt of an output for more details.