query wunderground.com directly to search for location

  • 1
  • Question
  • Updated 3 years ago
I would like to send visitors of my php site to wunderground.com but directly to the weather for a specific city. Using the search form on the top of the wunderground.com home page I noticed that the following example queries are built:




I would basically have 


(city and state would be generated dynamically) 

How reliable is this method of querying. Is anyone of aware of upcoming wunderground.com site structure changes that would possibly break a functionality like this?

Thanks in advance!
Photo of Vilian I

Vilian I

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 124 Reply Likes
In the API results there are usually at "l" with part of a path to help you link to wunderground.com