Google Finance price Conversion API not working

Google Finance price Conversion API not working

 

Previous Working Code:
 https://www.google.com/finance/converter?a=400&from=INR&to=USD
$from_Currency = "INR";

$to_Currency = "USD";

$from_Currency = urlencode($from_Currency);

$to_Currency = urlencode($to_Currency);

$get = file_get_contents("https://www.google.com/finance/converter?a=$amount&from=" . $from_Currency . "&to=" . $to_Currency);




$get = explode("<span class=bld>",$get);

$get = explode("</span>",$get[1]);

$converted_amount = preg_replace("/[^0-9\.]/", null, $get[0]);



return round($converted_amount, 2);
But Now, this API is Not Working. Please Follow for Update. If you have the answer share with us. Please comment & share to the world.