How to use Bing Translation API?

Ph3n1x picture Ph3n1x · Jan 3, 2013 · Viewed 51.6k times · Source

I am trying to use the Bing Translation API, but I am confused. There seems to be much possibilities (old and new ones) but I don't understand what I have to do.

Can someone please help me?

I want to send a HTTP Request like http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId=<AppId>&to=de&text=World and get the translation. Where to get the AppId?

What I have done so far:

  1. Signed in for the free API useage (https://datamarket.azure.com/dataset/bing/microsofttranslator)
  2. Created an App: https://datamarket.azure.com/developer/applications

Now I have the Client_ID and Client_Secret and also I have a account key (visible here https://datamarket.azure.com/account)

What to do now?

Thanks a lot or any help!

Answer

mlosev picture mlosev · Mar 28, 2013

AppID is deprecated. How you need perform following steps:

  1. Register you clientID, clientSecter in https://datamarket.azure.com
  2. Then you code must getting access token for login BingTranslator API

Read more details instrustions on http://msdn.microsoft.com/en-us/library/dd576287.aspx

NB Microsoft Translator has been replaced by Bing Translate, which does not appear to have a readily-available API.