Google kills weather API - apps go down
lifehacker.com.au
lifehacker.com.au
It was a private undocumentated API used internally. Using it was always a big risk.
However, wouldn't it have served them better from a PR point of view to give a warning, even if only a week in advance? If all these people have been using it for so long, another week of bandwidth/etc. isn't exactly going to break the bank, and it would have been the nice thing to do, to come out and say "hey, you weren't meant to be doing this, but we'll be helpful and give you a heads up to give you time to move off it".
Around a month prior to turning everything off, they started throwing in a random 403 to requests. No reasoning - just like it was being added by them to deter use.
I noticed this and just simply put in a try/catch, which "solved" the problem. Luckily I'm not building a business on it (that'd be pretty silly) so the downtime isn't the end of the world.
Here's a Stack Overflow post from during the "warning period": http://stackoverflow.com/questions/11878143/google-weather-a...
Seems like it was their way of giving us a heads up.
Since Google’s Weather API is completely officially undocumented it’s worth noting that in future it may be wise to use Yahoo’s weather API, which is fully and officially documented.
* http://labs.phurix.net/posts/weather-tclAwesome.
Sometimes reading/researching pays dividends.
Not that big a deal, and I knew it was undocumented, so I guess I'll just go find another one. Recommendations? Needs to be accessible via Javascript.
A couple of other (supported) weather API alternatives.
* http://www.worldweatheronline.com/free-weather-feed.aspx -- free with attribution, paid option to remove attribution. (We ended up going with this for our site.)
* http://www.wunderground.com/weather/api/d/docs -- free at developer usage levels, free allowance for sending traffic to their site, can get kind of pricey if you use it a lot and weather isn't central to what you do.
Incidentally, either of these will deliver a lot more weather data than you were getting with iGoogle.
The same would hold true for any website I make that has an internal API it uses to serve up pages. Sure, you can make a service that mimics the correct calls and gets the data, but don't be surprised when I change my routes around and your stuff stops working.