{"action":"opened","issue":{"url":"https://api.github.com/repos/Localize/node-google-translate/issues/13","repository_url":"https://api.github.com/repos/Localize/node-google-translate","labels_url":"https://api.github.com/repos/Localize/node-google-translate/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Localize/node-google-translate/issues/13/comments","events_url":"https://api.github.com/repos/Localize/node-google-translate/issues/13/events","html_url":"https://github.com/Localize/node-google-translate/issues/13","id":173608590,"number":13,"title":"supportedLanguages API seems to be failing?","user":{"login":"dcsan","id":514002,"avatar_url":"https://avatars.githubusercontent.com/u/514002?v=3","gravatar_id":"","url":"https://api.github.com/users/dcsan","html_url":"https://github.com/dcsan","followers_url":"https://api.github.com/users/dcsan/followers","following_url":"https://api.github.com/users/dcsan/following{/other_user}","gists_url":"https://api.github.com/users/dcsan/gists{/gist_id}","starred_url":"https://api.github.com/users/dcsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcsan/subscriptions","organizations_url":"https://api.github.com/users/dcsan/orgs","repos_url":"https://api.github.com/users/dcsan/repos","events_url":"https://api.github.com/users/dcsan/events{/privacy}","received_events_url":"https://api.github.com/users/dcsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-27T18:20:41Z","updated_at":"2016-08-27T18:20:41Z","closed_at":null,"body":"supportedLanguages API seems to be failing?\r\n\r\ncode:\r\n\r\n```\r\nconst googleTranslate = require('google-translate')(AppConfig.GOOGLE_TRANSLATE_KEY);\r\n\r\ngoogleTranslate.getSupportedLanguages(undefined, function(err, result) {\r\n  console.log(\"supportedLanguages.err\", err);\r\n  console.log(\"supportedLanguages\", result);\r\n});\r\ngoogleTranslate.translate('Hello how are you', 'zh-cn', function(err, translation) {\r\n  console.log(translation.translatedText);\r\n});\r\ngoogleTranslate.detectLanguage('Hello', function(err, detection){\r\n  console.log(detection);\r\n});\r\n```\r\n\r\ngives this output:\r\n```\r\nsupportedLanguages.err Something went wrong. Google responded with a status-code:400 message:Invalid Value\r\nsupportedLanguages null\r\n{ language: 'en',\r\n  isReliable: false,\r\n  confidence: 1,\r\n  originalText: 'Hello' }\r\n你好！你好吗\r\n\r\n```\r\n"}}
{"actor":{"display_login":"dcsan"}}