[REQUEST] Weather from different site than weather.com
#8
the problem I have is not how to download weather information, but how those information sent to XBMC. Simply doing script xml with entrypoint xbmc.python.weather will cause to show this script in system weather settings and allow to choose it instead of the deafult one weather.com. Now I need the guts - default.py script which download data (seems easy because there are many examples of scrapers) and in some way display those data.
I think that there are some conventions which I need to fulfill to make my script's python code compatible with weather plugins standard.
I suspect that I need to read location form parameters table, and return some form of datatable with weather data. I don't think I need to make full GUI because there would be no sense make entrypoint specifically for weather plugin.
So I need to know where I can read locations and how to return weather data.

Edit: there is already python library for weather checking at
http://code.google.com/p/python-weather-api/
so it seems even simpler.
But I need help how to pass data to xbmc
Reply


Messages In This Thread
[No subject] - by ameinild - 2011-01-10, 16:10
[No subject] - by spiff - 2011-01-10, 16:16
[No subject] - by Marx1 - 2011-01-10, 16:46
[No subject] - by spiff - 2011-01-10, 16:47
[No subject] - by Marx1 - 2011-01-10, 21:02
[No subject] - by darkscout - 2011-01-10, 23:35
[No subject] - by Marx1 - 2011-01-10, 23:46
[No subject] - by spiff - 2011-01-11, 11:19
[No subject] - by Marx1 - 2011-01-11, 14:47
Logout Mark Read Team Forum Stats Members Help
[REQUEST] Weather from different site than weather.com0