{"action":"created","issue":{"url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/55","repository_url":"https://api.github.com/repos/Stichoza/google-translate-php","labels_url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/55/comments","events_url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/55/events","html_url":"https://github.com/Stichoza/google-translate-php/issues/55","id":154313478,"number":55,"title":"POST http://translate.google.com/translate_a/t resulted in a `403 Forbidden` response","user":{"login":"limonte","id":6059356,"avatar_url":"https://avatars.githubusercontent.com/u/6059356?v=3","gravatar_id":"","url":"https://api.github.com/users/limonte","html_url":"https://github.com/limonte","followers_url":"https://api.github.com/users/limonte/followers","following_url":"https://api.github.com/users/limonte/following{/other_user}","gists_url":"https://api.github.com/users/limonte/gists{/gist_id}","starred_url":"https://api.github.com/users/limonte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limonte/subscriptions","organizations_url":"https://api.github.com/users/limonte/orgs","repos_url":"https://api.github.com/users/limonte/repos","events_url":"https://api.github.com/users/limonte/events{/privacy}","received_events_url":"https://api.github.com/users/limonte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-11T18:41:51Z","updated_at":"2016-05-13T09:00:41Z","closed_at":null,"body":"```\r\n ./vendor/bin/phpunit \r\nPHPUnit 4.8.24 by Sebastian Bergmann and contributors.\r\n\r\n......EEEEEEE.\r\n\r\nTime: 2.93 seconds, Memory: 6.00Mb\r\n\r\nThere were 7 errors:\r\n\r\n1) Stichoza\\GoogleTranslate\\Tests\\LanguageDetectionTest::testSingleWord\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:16\r\n\r\n2) Stichoza\\GoogleTranslate\\Tests\\LanguageDetectionTest::testSingleSentence\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:25\r\n\r\n3) Stichoza\\GoogleTranslate\\Tests\\LanguageDetectionTest::testMultipleSentence\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:34\r\n\r\n4) Stichoza\\GoogleTranslate\\Tests\\LanguageDetectionTest::testStaticAndNonstaticDetection\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:43\r\n\r\n5) Stichoza\\GoogleTranslate\\Tests\\TranslationTest::testTranslationEquality\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:395\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:145\r\n/home/limon/www/google-translate-php/tests/TranslationTest.php:16\r\n\r\n6) Stichoza\\GoogleTranslate\\Tests\\TranslationTest::testArrayTranslation\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175\r\n/home/limon/www/google-translate-php/tests/TranslationTest.php:26\r\n\r\n7) Stichoza\\GoogleTranslate\\Tests\\TranslationTest::testRawResponse\r\nErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:\r\n<!DOCTYPE html>\r\n<html lang=en>\r\n  <meta charset=utf-8>\r\n  <meta name=viewport content=\"initial-scale=1, minimum-scale=1, w (truncated...)\r\n\r\n\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262\r\n/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:185\r\n/home/limon/www/google-translate-php/tests/TranslationTest.php:44\r\n```"},"comment":{"url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/comments/218989144","html_url":"https://github.com/Stichoza/google-translate-php/issues/55#issuecomment-218989144","issue_url":"https://api.github.com/repos/Stichoza/google-translate-php/issues/55","id":218989144,"user":{"login":"helen5106","id":3970133,"avatar_url":"https://avatars.githubusercontent.com/u/3970133?v=3","gravatar_id":"","url":"https://api.github.com/users/helen5106","html_url":"https://github.com/helen5106","followers_url":"https://api.github.com/users/helen5106/followers","following_url":"https://api.github.com/users/helen5106/following{/other_user}","gists_url":"https://api.github.com/users/helen5106/gists{/gist_id}","starred_url":"https://api.github.com/users/helen5106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helen5106/subscriptions","organizations_url":"https://api.github.com/users/helen5106/orgs","repos_url":"https://api.github.com/users/helen5106/repos","events_url":"https://api.github.com/users/helen5106/events{/privacy}","received_events_url":"https://api.github.com/users/helen5106/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T09:00:41Z","updated_at":"2016-05-13T09:00:41Z","body":"here is PHP test:\r\n\r\nhttp://www.liuxiatool.com/t.php"}}