谷歌金融API给出403错误 [英] Google Finance api giving 403 error

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

问题描述

我正在使用谷歌金融API进行基于实际汇率的货币转换,

I am using google finance api for conversion of currency based on real rate conversion,

我正在使用的API如下:

The API what I am using is given below:

https://finance.google.com/finance/converter?a=1&from=USD&to=INR

https://finance.google.com/finance/converter?a=1&from=USD&to=INR

工作到昨天,但是从今天开始,它会抛出403响应代码。
有人可以帮我吗?还是这个网址被更改了??

It was working till yesterday but from today it's throwing 403 response code. Can anyone help me on that or Is this url changed??

谢谢

推荐答案

似乎Google只是默默弃用了 finance.google.com ,将其重定向到 google.com/search 。切换到更可靠的货币汇率提供商可能更好。就我而言,我转到了欧盟中央银行。

Seems that Google just silently deprecated finance.google.com, redirecting it to google.com/search. Probably better to switch to a more reliable currency exchange rates provider. In my case, I've switched to EU Central Bank.

这篇关于谷歌金融API给出403错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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