Skip to content

Commit

Permalink
Merge pull request watson-developer-cloud#769 from watson-developer-c…
Browse files Browse the repository at this point in the history
…loud/change-readme-in-demo

docs: change ltv3 example in readme
  • Loading branch information
germanattanasio authored Aug 24, 2018
2 parents c8c6181 + c7e9eb5 commit af9e42f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,10 @@ discovery.query(
Translate text from one language to another or idenfity a language using the [Language Translator][language_translator] service.

```javascript
var LanguageTranslatorV3 = require('watson-developer-cloud/language-translator/v3');
const LanguageTranslatorV3 = require('watson-developer-cloud/language-translator/v3');

var languageTranslator = new LanguageTranslatorV3({
username: '<username>',
password: '<password>',
const languageTranslator = new LanguageTranslatorV3({
iam_apikey: '<apikey>',
url: 'https://gateway.watsonplatform.net/language-translator/api/',
version: 'YYYY-MM-DD',
});
Expand Down

0 comments on commit af9e42f

Please sign in to comment.