I read one answer here (How to use Google Translate API in my Java application?) and started to use java-google-translate-text-to-speech api as it is free.
But when I use this api in a standalone java file, I am facing an issue : "Your client does not have permission to get URL /translate_a/t from this server. That’s all we know." HTTP Reponse Code 403-Forbidden error. Do I need to use API key to use this api ? Is there any sample code which uses API key ? I am posting a question for the first time so apologies if the formatting is incorrect.
Thanks in advance !!