0

weather.yahooapis.com/forecastjson NOT FOUND?

Hi all,

I've noticed that my site stopped displaying weather content that I have been pulling from http://weather.yahooapis.com/forecastjson using YQL. It seems that this URL is no longer available? forecastrss is still there (which only displays forecast for 2 days), but forecastjson is no longer available.

Can anyone confirm? I am pretty sure there are lots of other developers who depended on this to pull weather data.

Thanks in advance.

select * from json where url='http://weather.yahooapis.com/forecastjson?w=12797154&d=5&u=f'
cbfunc({
 "query": {
  "count": 0,
  "created": "2012-10-07T06:29:08Z",
  "lang": "en-US",
  "diagnostics": {
   "publiclyCallable": "true",
   "url": {
    "execution-start-time": "1",
    "execution-stop-time": "6",
    "execution-time": "5",
    "http-status-code": "404",
    "http-status-message": "Not Found",
    "proxy": "DEFAULT",
    "content": "http://weather.yahooapis.com/forecastjson?w=12797154&d=5&u=f"
   },
   "error": "Invalid JSON document http://weather.yahooapis.com/forecastjson?w=12797154&d=5&u=f",
   "user-time": "6",
   "service-time": "5",
   "build-version": "30549"
  },
  "results": null
 }
});

by
6 Replies
  • same here!
    0
  • same here!!!
    0
  • same here.
    0
  • Hi All,

    Not sure where you found: http://weather.yahooapis.com/forecastjson but forecastjson is not an officially supported endpoint.

    Please use: 
     SELECT * FROM weather.forecast WHERE woeid="12797154" and u="f"


    Thanks -Paul

    0
  • Thank you for the reply Paul,

    But is there a way to have a 5-day forecast with that query? The only reason I've used forecastjson was that I could pass d=5 to have a 5-day forecast, it doesn't seem to be the case with other supported APIs.

    In a nutshell, I need a service that supports both WOEID and 5-day forecast, forecastjson used to be able to do all that, until it stopped working.

    Would appreciate any pointers/help if this can be achieved with other supported weather endpoints by Yahoo.

    Thanks.


    QUOTE(Paul Donnelly @ 8 Oct 2012 12:09 PM)
    Hi All,

    Not sure where you found: http://weather.yahooapis.com/forecastjson but forecastjson is not an officially supported endpoint.

    Please use: 
     SELECT * FROM weather.forecast WHERE woeid="12797154" and u="f"


    Thanks -Paul

    0
  • btw "SELECT * FROM weather.forecast WHERE woeid="12797154" and u="f"" has two days forecast.
    0

Recent Posts

in YQL