elziko;306162 Wrote: 
> I'm trying to get a weather forecast more local than my nearest airport.
> The report I actually want is this:
> 
> http://www.wunderground.com/global/stations/03726.html
> 
> ...but I can;t figure out any string that when searched for on
> Wunderground will take me to that page.
> 
> Any ideas?
> 
> TIA

This 'page' (http://wiki.wunderground.com/index.php/API_-_XML) is quite
useful - it documents the Wundeground API to a limited extent.

The first URL (GeoLookupXML) can be used to find suitable stations, so
for Bristol (UK) try:

http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=Bristol,%20United%20Kingdom

This returns all the data about that station. If you entered only
Bristol it would retun all matching locations, so find yours.

Then to see if "Bristol, United Kingdom" will work with WeatherTime,
try the 'current'
(http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=Bristol,%20United%20Kingdom)
and 'forecast queries'
(http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=Bristol,%20United%20Kingdom)
- if they're populated with the correct data, it should work work you
enter "Bristol, United Kingdom" as the "Wunderground.com Citycode". The
"City" field can be whatever you like, it's not important.

Alternatively you can enter the latitude/longtitude (it's in the
"Current" XML or on the Wundeground web page) as the "Wunderground.com
Citycode", eg. "51.38249969,-2.71888900" and Wunderground will
determine the nearest weather station based on the coordinates.

Finally, to get the latitude/longtitude for any location using Google
maps, enter the address you are interested in into Google Maps (it
should then be shown as the center of the map) and then paste the
following into the browser address bar:

Code:
--------------------
    
  javascript:void(prompt('',gApplication.getMap().getCenter())); 
  
--------------------


Remove the parenthesis and space, and use the latitude/longtitude as
the "Wunderground.com Citycode" - leave Wundeground to find your
neareast weather station for you!

:)


-- 
Milhouse
------------------------------------------------------------------------
Milhouse's Profile: http://forums.slimdevices.com/member.php?userid=928
View this thread: http://forums.slimdevices.com/showthread.php?t=21989

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to