How to get city code weather in AccuWeather?
Asked Answered
B

3

6

Have someone ever use AccuWeather to search your country weather? I want to get my city weather code in AccuWeather who can help me? The code generate has form like this: EUR|DE|GM014|TORGAU. I can't find my city code (Phnom Penh, Cambodia)

Bobodioulasso answered 17/9, 2012 at 3:59 Comment(0)
C
5

For Phnom Penh, the code you seek is ASI|KH|CB012|PHNOM PENH.

Now in general, getting that old style format is difficult because around the end of 2009 / beginning of 2010 they did away with that style of coding stations and replaced it with a newer, perhaps more friendly model. So new style,

http://www.accuweather.com/en/kh/phnom-penh/49785/weather-forecast/49785

will give you the current for Phnom Penh.

If you really really really need to find the old style codes, there is an awesome list here. I would recommend you download the list from here as it is gold at this point and then you can programmatically access it however you see fit. Regex would be a good bet as the format seems to be pretty consistent.

Chantilly answered 19/11, 2012 at 21:55 Comment(0)
P
6

to find your location use this link provided by the help in ubuntu

http://thale.accu-weather.com/widget/thale/city-find.asp?location=

add your location at the end of the link

http://thale.accu-weather.com/widget/thale/city-find.asp?location=PARIS

Pathe answered 11/7, 2013 at 9:48 Comment(1)
Does not work anymore :-/ "Your subscription has expired. Please contact AccuWeather to resubscribe"Ase
C
5

For Phnom Penh, the code you seek is ASI|KH|CB012|PHNOM PENH.

Now in general, getting that old style format is difficult because around the end of 2009 / beginning of 2010 they did away with that style of coding stations and replaced it with a newer, perhaps more friendly model. So new style,

http://www.accuweather.com/en/kh/phnom-penh/49785/weather-forecast/49785

will give you the current for Phnom Penh.

If you really really really need to find the old style codes, there is an awesome list here. I would recommend you download the list from here as it is gold at this point and then you can programmatically access it however you see fit. Regex would be a good bet as the format seems to be pretty consistent.

Chantilly answered 19/11, 2012 at 21:55 Comment(0)
B
2

Find your (nearest) city here: http://pastebin.com/dbtemx5F

Bottomless answered 21/2, 2014 at 0:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.