Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call api from android #33

Open
ZulqarnainSyed opened this issue Aug 21, 2017 · 3 comments
Open

call api from android #33

ZulqarnainSyed opened this issue Aug 21, 2017 · 3 comments

Comments

@ZulqarnainSyed
Copy link

i want to know if there is any way to call this API from android

@baptiste-mnh
Copy link

Hi,
I tried to create an Android API working the same way that this API.

The issue is that google find out the request is from a program :
W/System.err: java.io.FileNotFoundException: https://ipv4.google.com/sorry/index?continue=https://translate.googleapis.com/translate_a/single...........

When you click on the error link, this page appears
screenshot

After I check the captcha, the JSON is downloading.

So it seems impossible to do it programatically because of the captcha...

@guyjoules
Copy link

guyjoules commented Aug 30, 2017 via email

@brenopolanski
Copy link

I created a simple server with express using google-translate-api, so make a deploy on heroku, wedeploy, etc and solve the problem with prototype and cors. Here the project: https://github.com/brenopolanski/server-google-translate-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants