谷歌API天气预报返回新奇特错误 [英] Google Weather API returning strange new error
问题描述
我使用谷歌天气API在iPhone应用程序,最近有时已返回403错误,但现在它返回一个非常时髦的错误说未知API不管我进入它什么位置。< A HREF =http://www.google.com/ig/api?weather=Mountain%20View>例这里
I'm using the Google Weather API in an iPhone app, and lately sometimes it has been returning a 403 error, but now it's returning a really funky error saying "Unknown API" no matter what location I enter into it.Example here.
有谁知道这是怎么回事?我检查了谷歌气象监测链接,它说一切正常。到底是什么回事? O.o
Does anybody know what's going on? I checked the Google Weather Monitoring link and it says everything is okay. What the heck is going on? O.o
推荐答案
我已经在过去的几个星期与上周出现的不支持的API的消息同样的问题(随机403错误)。
I have had the same problem over the past few weeks (random 403 errors) with the Unsupported API message appearing last week.
如果你问我,我认为谷歌已经关闭了unsuported天气API下来好!
由于谷歌已经宣布将关闭的iGoogle - 用于其API的
If you ask me, I think Google has shut the unsuported weather api down for good! Since Google has announced it will shut down iGoogle - for which the api was used for.
我认为你需要开始寻找不同的免费天气API(和我一样=()。
I think you need to start looking for a different free weather api (same as me =( ).
如果您分析iGoogle页面与天气小工具,你会发现呼叫现在使用wunderground.com并没有更多的谷歌API的天气
If you analyse the iGoogle page with a weather widget you will notice that the call now uses wunderground.com and no more google weather api
例如:<一href=\"http://igoogle.wunderground.com/cgi-bin/findweather/getForecast?query=47.644199,9.180259&unit=SI&hl=de\">http://igoogle.wunderground.com/cgi-bin/findweather/getForecast?query=47.644199,9.180259&unit=SI&hl=de
这篇关于谷歌API天气预报返回新奇特错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!