pywapi cannot connect to Yahoo! Weather

Bug #1570991 reported by SantiB.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pywapi (Ubuntu)
New
Undecided
Unassigned

Bug Description

My python script doesn't work anymore. I use the python library pywapi 0.3.8 and when I try to obtain the weather informations about my city, this message appears:"{'error': 'Could not connect to Yahoo! Weather'}".
if I launch this python script:
import pywapi

result = pywapi.get_weather_from_yahoo('ITXX0040','c')
print(result)

{'error': 'Could not connect to Yahoo! Weather'}

Did Yahoo weather change some API??

Revision history for this message
Eric Dynowski (7-eric-a) wrote :

I'm also seeing the same thing. Did a bit of quick research and I think that Yahoo has changed their API.

https://developer.yahoo.com/weather/

Revision history for this message
Eric Dynowski (7-eric-a) wrote :

For example, the pywapi package is making a call to: http://xml.weather.yahoo.com/forecastrss/60203_f.xml and Yahoo is responding with:

Could Not Connect

Description: Could not connect to the requested server host.

Revision history for this message
SantiB. (xhisoka87x) wrote :

Hi Eric! Any suggestion to solve this problem without change Yahoo weather provider?!

Revision history for this message
Eric Dynowski (7-eric-a) wrote :

SantiB, I think the someone needs to update the pywapi script to use the new API.

Revision history for this message
SantiB. (xhisoka87x) wrote :

I tried another Python script called Yweather, but it Also has problem With The connection to Yahoo weather! Thank You for You answers Eric:-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.