Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google api 谷歌财务API中的错误_Google Api_Google Finance_Currency Exchange Rates - Fatal编程技术网

Google api 谷歌财务API中的错误

Google api 谷歌财务API中的错误,google-api,google-finance,currency-exchange-rates,Google Api,Google Finance,Currency Exchange Rates,我想使用谷歌金融api转换货币。但它在我的本地机器(印度)中不起作用。 当我从位于美国的一台服务器上点击时,它工作正常,并提供了正确的结果 网址: 有人能帮我在本地机器上正确使用这个api吗 任何帮助都将受到感谢 谢谢 我也面临着类似的问题(googleconverterapi突然没有了 工作) 根据我的发现,我得到了解决方案,并得出结论,谷歌最近更新了财务API。 下面的链接是我的工作 最新网址: 当返回状态为302时,上面的url将用户重定向到搜索页面,下一个页面将重定向信息(在本例中,此u

我想使用谷歌金融api转换货币。但它在我的本地机器(印度)中不起作用。 当我从位于美国的一台服务器上点击时,它工作正常,并提供了正确的结果

网址:

有人能帮我在本地机器上正确使用这个api吗

任何帮助都将受到感谢 谢谢

我也面临着类似的问题(googleconverterapi突然没有了 工作

根据我的发现,我得到了解决方案,并得出结论,谷歌最近更新了财务API。 下面的链接是我的工作

最新网址:


当返回状态为302时,上面的url将用户重定向到搜索页面,下一个页面将重定向信息(在本例中,此url是google搜索url)。替代服务:此url不再工作,您有最新的url吗?
file_get_contents("https://finance.google.com/bctzjpnsun/converter?a=$amount&from=$from_Currency&to=$to_Currency");