Microsoft Translator API sample. Text-to-Text translation for Node.js.
This is a simple sample to try out MS Translator API Text-to-Text Translation.
1.. Visit https://www.microsoft.com/en-us/translator and Register your account.
2.. Create a file 'azureDataMarket.json' and write like below.
{
"ClientId": "your_client_id",
"ClientSecret": "your_client_secret"
}
My Environments | |
---|---|
OS | Windows 10 64bit |
Editor | VSCode (stable) |
node --version | v6.3.1 |
npm install
npm start