Help with accessing/importing the xml weather file.

  • 2
  • Question
  • Updated 5 years ago
My python script parses an xml file for Cradock in South Africa : http://api.wunderground.com/auto/wui/...

The xml file says that this will be depreciated please switch to http://www.wunderground.com/weather/api/

How do I use this newer format to access Cradock, SA xml file. And how do I search for the relevant postcode?
Photo of simonrjames

simonrjames

  • 1 Post
  • 0 Reply Likes
  • happy

Posted 5 years ago

  • 2
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
Hello,

Did you sign up for a key on the site yet?

After you have a key, you would make a call like this:

http://api.wunderground.com/api/xxxxx...

-William
Wunderground Support
Photo of arjunaria

arjunaria

  • 1 Post
  • 0 Reply Likes
Hi,

I have signed up for the api key. how do i use this to get the xml output.

I am still using the old url

http://api.wunderground.com/auto/wui/...

please advise

thanks