1

Yahoo! Weather 5 day Forecast

Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

Many thanks, any help is greatly appreciated.

by
43 Replies
  • QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.


    Does anyone happen to know the answer to this? Its been difficult finding a definitive answer one way or the other. Thank you
    0
  • QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.



    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode
    1
  • QUOTE (tumbleweed9045 @ Jul 17 2009, 10:20 AM) <{POST_SNAPBACK}>
    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode


    Thank you very much for your response, I had given up on checking this post. That link works really well for 5 day. Would you happen to know of a 7 day forecast feed?

    Thank you again, it is greatly appreciated.

    -John
    1
  • QUOTE (brrutzo @ Aug 9 2009, 07:39 PM) <{POST_SNAPBACK}>
    Thank you very much for your response, I had given up on checking this post. That link works really well for 5 day. Would you happen to know of a 7 day forecast feed?

    Thank you again, it is greatly appreciated.

    -John


    I don't think there is a 7 day forecast through Yahoo. There is an extended forecast form the weather channel, but i don't know a neatly packaged RSS feed. Sorry.
    0
  • What about when querying via YQL? Currently if I select * from the weather.forecast table I only get back current conditions as well as forecasts for today/tomorrow. Anyone figured out how to fetch a full 5 day forecast this way?

    Thanks!
    0
  • Hi Mark - try this: http://developer.yahoo.com/yql/console/?q=...F59911_f.xml%27

    Just replace the 59911 as mentioned above.

    - Jon
    1
  • QUOTE (Jon @ Aug 26 2009, 09:06 AM) <{POST_SNAPBACK}>
    Hi Mark - try this: http://developer.yahoo.com/yql/console/?q=...F59911_f.xml%27

    Just replace the 59911 as mentioned above.

    - Jon


    Ahh, I never thought of just querying the RSS table for the extended forecast feed like that... Works like a charm.

    Thanks!
    1
  • What about for international locations where there is no zip code? Thanks.
    0
    • B
    • Nov 19, 2011
    Does anybody have an answer for the international?<br><br><div class="quote"><div class="quotetop">QUOTE<cite>(Eddie @ 25 Mar 2010 12:12 AM)</cite></div><blockquote class="quotemain">What about for international locations where there is no zip code? Thanks.</blockquote></div>
    0
  • If you need the xml for somewhere outside the states. take the 5 day forecast say for Opera, France.<br><br><a href="http://weather.yahoo.com/forecast/FRXX2071.html" rel="nofollow" target="_blank">http://weather.yahoo.com/forecast/FRXX2071.html</a><br><br>change to<br><br><a href="http://xml.weather.yahoo.com/forecastrss/FRXX2071_c.xml" rel="nofollow" target="_blank">http://xml.weather.yahoo.com/forecastrss/FRXX2071_c.xml</a><br><br><br>or Paris, France <a href="http://weather.yahoo.com/Paris-Franc.../forecast.html" rel="nofollow" target="_blank">http://weather.yahoo.com/Paris-Franc.../forecast.html</a><br><br>change to<br><br><a href="http://xml.weather.yahoo.com/forecastrss/FRXX0076_c.xml" rel="nofollow" target="_blank">http://xml.weather.yahoo.com/forecastrss/FRXX0076_c.xml</a><br><br>change _c to _f if you want Fahrenheit instead of Celsius.<br><br><br><div class="quote"><div class="quotetop">QUOTE<cite>(B @ 19 Nov 2011 4:16 AM)</cite></div><blockquote class="quotemain">Does anybody have an answer for the international?<br><br><div class="quote"><div class="quotetop">QUOTE<cite>(Eddie @ 25 Mar 2010 12:12 AM)</cite></div><blockquote class="quotemain">What about for international locations where there is no zip code? Thanks.</blockquote></div></blockquote></div>
    0
  • You give a nice answer.Thanks.But now I want get 5-day weather forecast&nbsp;by using woeid.It&nbsp;makes me confused.Can someone give me an answer?&nbsp;Thanks.<br>QUOTE<cite>(Carrie @ 21 Nov 2011 2:35 PM)</cite><div class="quote"><blockquote class="quotemain">If you need the xml for somewhere outside the states. take the 5 day forecast say for Opera, France.<br><br><a href="http://weather.yahoo.com/forecast/FRXX2071.html" rel="nofollow" target="_blank">http://weather.yahoo.com/forecast/FRXX2071.html</a><br><br>change to<br><br><a href="http://xml.weather.yahoo.com/forecastrss/FRXX2071_c.xml" rel="nofollow" target="_blank">http://xml.weather.yahoo.com/forecastrss/FRXX2071_c.xml</a><br><br><br>or Paris, France <a href="http://weather.yahoo.com/Paris-Franc.../forecast.html" rel="nofollow" target="_blank">http://weather.yahoo.com/Paris-Franc.../forecast.html</a><br><br>change to<br><br><a href="http://xml.weather.yahoo.com/forecastrss/FRXX0076_c.xml" rel="nofollow" target="_blank">http://xml.weather.yahoo.com/forecastrss/FRXX0076_c.xml</a><br><br>change _c to _f if you want Fahrenheit instead of Celsius.<br><br><br><div class="quote"><div class="quotetop">QUOTE<cite>(B @ 19 Nov 2011 4:16 AM)</cite></div><blockquote class="quotemain">Does anybody have an answer for the international?<br><br><div class="quote"><div class="quotetop">QUOTE<cite>(Eddie @ 25 Mar 2010 12:12 AM)</cite></div><blockquote class="quotemain">What about for international locations where there is no zip code? Thanks.</blockquote></div></blockquote></div></blockquote></div>
    0
  • Even if i have used the trick you have mentioned , but unfortunately wrong results , i mean i tried to get the weather forecast report for "Bhubaneswar" (OR,IN) having zipcode "751001" but it's not returning the data.


    QUOTE(Carrie @ 17 Jul 2009 11:20 AM)
    QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.



    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode
    0
  • Even if i have used the trick you have mentioned , but unfortunately wrong results , i mean i tried to get the weather forecast report for "Bhubaneswar" (OR,IN) having zipcode "751001" but it's not returning the data.
    i.e
    http://xml.weather.yahoo.com/forecastrss/751001_f.xml 


    QUOTE(Carrie @ 17 Jul 2009 11:20 AM)
    QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.



    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode


    QUOTE(Carrie @ 17 Jul 2009 11:20 AM)
    QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.



    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode


    QUOTE(Carrie @ 17 Jul 2009 11:20 AM)
    QUOTE (kurtriedi @ Dec 8 2008, 10:54 AM) <{POST_SNAPBACK}>
    Is it possible to use the Yahoo! Weather feed to return a 5 day forecast, instead of just today and tomorrow? I'm not sure if this is a limitation of the service, or if I've misunderstood something long the line. Has anyone been able to accomplish this?

    Many thanks, any help is greatly appreciated.



    this is a late response but
    http://xml.weather.yahoo.com/forecastrss/59911_f.xml replace the 59911 with your zipcode
    1
  • I'm having the same promblems, i could use the forecaststrss BUT how do i retrieve the Location ID (last part of the url ) to form a correct request? All i got is WOEID and Lat and Long. Im asking this because im developing a mobile app, and i don't want to waste too much bandwidth and resources. Currently im already querying the where.yahooapis to retrieve WOEID and im querying YQL to retrieve the weather based on that WOEID all of this to find out that i can only have the weather of 2 DAYS. Disappointed and awaiting for a response...I might change my APIs if nobody has ever solved this. Thanks in advance to anyone answer me

    0
  • you can work around by that: use WOEID to get two-days forecast information and find the Zipcode from query.results.channel.link (like http://weather.yahoo.com/forecast/YouZiPCode_f.html) and then replace "You_ZIPCode" in url :
    http://xml.weather.yahoo.com/forecastrss/You_ZIPCODE_f.xml and
    then you get 5-days forecasts.

    1
  • Hi all,

    I found yahoo weather api most helpful. I need a hourly and days weather report. I got these link http://in.weather.com/weather/hourByHour-INXX0104?cm_ven=yahoo_in&cm_cat=citypage&cm_ite=weather&cm_pla=hourly.

    http://in.weather.com/weather/10day-INXX0104?cm_ven=yahoo_in&cm_cat=citypage&cm_ite=weather&cm_pla=10day

    I am doubted how can we request the hourly or days weather using yahoo like http://weather.yahooapis.com/forecastrss?w=2502265

    I found " mark" reply over here http://developer.yahoo.com/yql/console/?q=select%20*%20from%20rss%20where%20url%3D%27http%3A%2F%2Fxml.weather.yahoo.com%2Fforecastrss%2F59911_f.xml%27

    but confused how to make the same call for weather report days and hourl

    please answer this

    thanks, anoop

    0
  • Hi! I have used http://xml.weather.yahoo.com/forecast/YouZiPCode_c.xml for last year and I get 5 days forecast. But today only get today and tomorrow.

    Does anyone happen to know the answer to this?

    Thanks!!

    1
  • Hi Juan,

    We're all of a sudden seeing the same issue. Yesterday a client's test site was displaying a 5-day forecast. We launched yesterday afternoon and today we're only getting the 2-day forecast. If you discover what it is please post here, we'll do the same!

    1
  • If you try to access: http://xml.weather.yahoo.com/forecastrss/SFXX0044_c.xml, will discover that only returns the forecast today and tomorrow. I think they limited to free access.

    0
  • I've done some hunting and this is the only location I've been able to find where someone can confirm the behavior we're seeing. Does anyone know where we could go for official word from Yahoo Dev that they've cut back on the number of available days in the forecast? Does Yahoo officially reply on these forums?

    2
    • A
    • May 21, 2013

    I've done some hunting around too since this crashed a widget on our site. I think it could be something to do with what this guy says on this post: http://soup.metwit.com/post/47181933854/an-alternative-to-yahoo-weather-api

    I also found some talk of yahoo changing what they're actually giving away in their free API and that there might be a paid for version coming out.

    If I find out any more I'll post it on here! Please do the same if you find anything

    1
  • Thanks A,

    As a solution to this, we're having a closer look at Weather Underground: http://www.wunderground.com/weather/api/d/docs. They have an API that has a free plan, alongside a WordPress plugin that handles caching to keep the requests down. I'll be keeping an eye on this thread to see if anyone has a solution to get Yahoo back to delivering 5-day forecasts before we drop too many hours to fixing our client's site, but I'm not holding my breath.

    Thanks to everyone that's posted!

    1
  • I also want to know!!

    0
    • A
    • May 21, 2013

    I have submitted a bug report to yahoo, but like you Mike, I'm not holding my breath. The API provided for free by http://developer.worldweatheronline.com/getting_started seems to be quite good. We were parsing the xml that was created by yahoo and it appears as if the feed from them could work with a bit of tweaking on the code of our site. I haven't done much work on it yet but it may just work for what we need.

    0
  • I am seeing the same issue here. I was able to get 5 days forecast last Sunday, but not today. I am hoping to get official word from Yahoo dev as well.

    0
  • this is a late response but
    <http://xml.weather.yahoo.com/forecastrss/59911_f.xml> replace the 59911 with your zipcode
    

    Its is not giving 5 days forecast it give forecast for just today and tomorrow. Please help me how to get forecast > 5 days.

    Thanks in advance.

    0
  • We are looking into why this has changed. I'll let you know something as soon as we find out why the change has happened.

    Robyn

    4
  • Confirmed for me as well. No more 5-day Yahoo? Man... That would suck.

    0
  • somebody please help me fix this bug.

    0
  • Confirmed... 5-day forecasts not working... any updates?

    0
  • Me too.

    0
  • Can someone from Yahoo at least let us know what is up? If there is a premium service, I'd be willing to pay something. I'd like to know if it is gone for good.

    0
  • One of the guys over at my AMX forums just let me know that the protocol now supports days up to 10. Change your links as follows...

    http://xml.weather.yahoo.com/forecastrss/43026&d=5.xml

    Now you can specify days!

    1
  • Thanks man, but I can't work out what those numbers in the link are and how can I change it for my needs? What is 43026&d? That doesn't seem to be the zipcode of Hillliard

    0
  • [ZIPCODE]&d=[Num_Of_Days].xml

    Everything else should be the same. It just adds the "day variable". And yes, that is the zipcode of hilliard. :)

    1
  • It gives me an error when I try with Montreal <http://xml.weather.yahoo.com/forecastrss/3534&d=5.xml>

    0
  • Made it work with the location code. Thanks a lot :)

    0
  • One more question. How can you add the parameter for Celsius? The default seems to be Fahrenheit

    0
  • Figured it out. So this is how you do it now:

    http://xml.weather.yahoo.com/forecastrss/[ZIPCODE or LOCATION CODE]&d=[Num_Of_Days].xml

    In case you want in Celsius:

    http://xml.weather.yahoo.com/forecastrss/[ZIPCODE or LOCATION CODE]&d=[Num_Of_Days]_c.xml

    1
  • And what are the new RSS settings? I was pulling my 3 day via XML with the format=json tag. That is no longer working...

    0
  • Has anyone figured how to get the weather in json format?

    1
  • This should be fixed now. Please let me know if you continue to have trouble with this.

    2
  • THANK YOU!

    0
  • Is there a way to get the &d variable with json? I'm looking to pull 7 days via json.

    0

Recent Posts

in General Discussion at YDN