Google finance API中的错误 [英] Error in Google finance API
问题描述
我想用google finance api转换货币。但它不在我的本地机器(印度)工作。
当我从位于美国的一台服务器上点击并提供正确的结果时,它工作正常。
任何人都可以请我帮忙在本地机器上正常工作这个api?
任何帮助都会被appriciated
谢谢。
我正面临类似问题( Google Converter API突然不是
正在运行)
根据我的发现,我得到了解决方案,并在此得出结论,Google最近更新了财务API。
以下链接适用于我
最新网址: https://finance.google.com/bctzjpnsun/converter
的file_get_contents( https://finance.google.com/bctzjpnsun/converter?a=$amount&from=$from_Currency&to=$to_Currency);
I want to convert currencies using google finance api. But its not working in my local machine(India). It works fine when I hit from one server located in USA and provides proper result.
Can anyone please help me to work this api properly in my local machine?
Any help will be appriciated Thanks.
I was facing the similar issue (Google Converter API suddenly not working)
As per my finding, I got the solution and conclude here that Google recently update the finance API. The below link is work for me
Latest URL: https://finance.google.com/bctzjpnsun/converter
file_get_contents("https://finance.google.com/bctzjpnsun/converter?a=$amount&from=$from_Currency&to=$to_Currency");
这篇关于Google finance API中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!