Thank you, FDRlive! It works nicely!
The Weatherbug website acts somewhat erratically in my Safari browser and I was unable to bring up a City Code search function on the Weatherbug site, but I found a URL that will open an XML file in a browser window with a list of Weatherbug City Codes. A desired city code should be shown amongst the cities listed. In the example URL shown below, the city name in the URL needs to be changed to the name of the desired city. In the example the city name is Montreal; the word Montreal should be changed to the name of the desired city. If the desired city has more than one word in it's name, a + sign should be added between the words; ie North+Vancouver is how the city of North Vancouver would be entered.
Here's the example URL:
- Code: Select all
http://a6453888564.api.wxbug.net/getLocationsXML.aspx?SearchString=Montreal&ACode=A6453888564