View Single Post
Old 01-16-2015, 02:29 AM   #131
ro-76
Junior Member
ro-76 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2003
Location: Ireland
Device: Pocket PC
Quote:
Originally Posted by PeterT View Post
AH... I think I made a mistake in one of the original changes.

We need
Code:
weather_link='http://api.worldweatheronline.com/free/v2/weather.ashx?q={0},{1}&format=xml&num_of_days=5&tp=24&key=95f758b5c88e1b323c12bd1017202'.format(lat, lon)
to get a daily weather stat, as opposed to every 3 hours by default. (Adding in an extraparamater &tp=24

See if that makes a difference (and if so, we don't need any additional graphics)

See http://www.worldweatheronline.com/ap...ather-api.aspx for the API
That did it! Thanks for your help.
ro-76 is offline   Reply With Quote