I want to execute this script (view source) that uses Google Translate AJAX API from python, and be able to pass arguments and get the answer back. I don’t care about the HTML.
I understand I need to embed a Javascript interpreter of some sort. Does this mean I need to have a browser instance and manipulate it? What is the cleanest way to access this API from python?
You can use google-api-translate-python to talk to google api.
EDIT: It wasn’t clear where the sources are, found them here.