Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Bing Translation API?

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!

like image 396
Ph3n1x Avatar asked Jan 02 '13 23:01

Ph3n1x


People also ask

How do I use Bing Translator API?

To use Bing translation in your application, first you need an API key which you can create here. Login using your Windows Live id and password and create the application id which we need in our application.

Is Bing translate API free?

Translator for Bing Powered by Microsoft Translator, the site provides free translation to and from any of the supported text translation languages.

What is Microsoft Translator API?

Translator, part of Azure Cognitive Services, is a cloud-based machine translation service that can be used to build applications, websites, tools, or any solution requiring multi-language support.

How do I get Microsoft translate API key?

In order to get an API key for Microsoft Translator, you need to get a Microsoft Azure account. Please be aware that our company is not responsible for the configuration of “Microsoft Azure” and the acquisition of the Microsoft Translator API key, and the results thereof.


2 Answers

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.

like image 115
mlosev Avatar answered Oct 08 '22 18:10

mlosev


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.

like image 29
Chris Wendt Avatar answered Oct 08 '22 18:10

Chris Wendt