I want to access the Google Translate APIv2. Here is the url:
I already have the key and this url is working fine if I am using it in the browser address bar.
My problem is that I do not know how to call this url using REST. I want to get the result stored in a variable.
Try
You can then access specific nodes with
echo $json['key_name']Useful URLs:
http://php.net/manual/en/function.file-get-contents.php
http://php.net/manual/en/function.json-decode.php