Google finance API中的错误 [英] Error in Google finance API

查看:446
本文介绍了Google finance API中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



网址: https://finance.google.com/finance/转换器?a = 1& from = ZAR& to = USD& meta = 53336452-3e60-4fa1-9740-9ef8ea9e9118

任何人都可以请我帮忙在本地机器上正常工作这个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.

Url : https://finance.google.com/finance/converter?a=1&from=ZAR&to=USD&meta=53336452-3e60-4fa1-9740-9ef8ea9e9118

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆