Comment 5 for bug 1595533

Revision history for this message
Zsolt Palotai (zsolt-7) wrote :

Workaround:

If you have the premium key:

1 - edit the config file ( ~/.config/my-weather-indicator/my-weather-indicator.conf )
    "weather-service": "worldweatheronline"
    "wwo-key": "$YOUR_KEY_HERE$"

2 - edit the WWO API Address - /opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/worldweatheronlineapi.py

    change the API's url to:
URL = 'http://api.worldweatheronline.com/premium/v1/weather.ashx?q=%s,%s\
&format=json&num_of_days=5&key=%s' # (latitude,longitude)

Now, it works.