View Single Post
Old 01-01-2014, 02:55 PM   #107
laidig
Junior Member
laidig began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2014
Device: Kobo WiFi
API Link has changed

Just a note for anyone trying this out from here on. It appears that the API from worldweatheronline has changed slightly:
1. The key embedded in the app has ceased to work
2. If you request a new key, you will receive a new URL.

To solve this, go to worldweatheronline.com, sign up for an account and request a new 'free' api key. Once you have it, go to
http://developer.worldweatheronline.com/io-docs to see how it works.

You can then drop your new URL into the same python script, searching for "weather_link="

http://api.worldweatheronline.com/free/v1/weather.ashx?q={0},{1}&format=xml&num_of_days=5&ke y=[YOUR KEY HERE]
laidig is offline   Reply With Quote