How to get your location code for winterboard weather widget

Most of winterboard weather widgets use the weather.yahoo.com api to show weather.

Some widgets use weather location code (such as USNY0996)

Some widgets use zip code (such as 2459115)

To get weather location code, you simply follow these steps:

1. Go to http://www.weather.com

2. Search for your town and country (ie New york, NY, United States) – When your search has given you the right location you will be taken to the page where the weather is displayed. You should now look at the URL (the address bar).

3. The URL should now look something like this: http://www.weather.com/weather/right-now/USNY0996:1
4. The weather code is now in the URL. The part we are looking for is:  USNY0996

To get zip code, you simply follow these steps:

1. Visit Yahoo! Weather and search your city/town.

2. Search for your town and country (ie New york, NY, United States)

3. Find a series of numbers at the end of the page’s URL. This is New York’s: http://weather.yahoo.com/united-states/new-york/new-york-2459115/

4. The ZIP code is now in the URL. The part we are looking for is:  2459115