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:
- Signed in for the free API useage (https://datamarket.azure.com/dataset/bing/microsofttranslator)
- 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!
AppID is deprecated. How you need perform following steps:
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.
Follow the links on http://api.microsofttranslator.com. The API takes an access token in the appid parameter. See the section "Obtaining an access token" in the documentation to learn how to get that token.
You may find this blog and instruction useful.
HTH.
Feel free to use this instructions (if you're using php):
Define your keys
Classes and functions
The calls
or
That's it, have fun and remember to follow the terms of service.