You can find the location ID for Weather.COM by using this search URL
http://xoap.weather.com/search/search?where=CITY or STATE or COUNTRY
Example:
http://xoap.weather.com/search/search?where=Anchorage
- <search ver="3.0">
<loc id="USAK0012" type="1">Anchorage, AK</loc>
<loc id="USAK0013" type="1">Anchorage/Elmendorf AFB, AK</loc>
<loc id="USAK0015" type="1">Anchorage/Merrill Field, AK</loc>
<loc id="USAK0014" type="1">Anchorage/Lake Hood Seaplane Base, AK</loc>
</search>
It is currently April 20th, 2024, 3:22 am
Weather.com finding your location code
-
- Posts: 12
- Joined: September 4th, 2009, 1:51 am
-
- Posts: 127
- Joined: June 10th, 2009, 8:26 am
-
- Posts: 4
- Joined: May 25th, 2010, 7:15 am
Re: Weather.com finding your location code
Url=http://weather.yahooapis.com/forecastrss?p=#USAZ0166#&u=#0#
I live in Phoenix, AZ and I'm just getting into the weather aspect of Enigma (and a few other weather widgets). Am I building this URL right? I changed the placeholders in the .txt file with my weather code and I also changed the 1 to a 0 for Fahrenheit.
Meh...If someone could toss me a bone, that'd be amazing.
I live in Phoenix, AZ and I'm just getting into the weather aspect of Enigma (and a few other weather widgets). Am I building this URL right? I changed the placeholders in the .txt file with my weather code and I also changed the 1 to a 0 for Fahrenheit.
Meh...If someone could toss me a bone, that'd be amazing.
-
- Posts: 45
- Joined: November 13th, 2009, 10:22 pm
- Location: near Würzburg, Germany
-
- Posts: 4
- Joined: May 25th, 2010, 7:15 am
Re: Weather.com finding your location code
It totally did. Epic win.
Thanks!
Thanks!