Local PWSs list, how I can do this

  • 1
  • Question
  • Updated 4 years ago
I need to make a list of local PWS. I need to display name, temperature (current, low, high), humidity, rainrate, rainfall, wind for each station in a row.
This list must be displayed in a HTML/PHP web page.
How can I make this?

Thank you
Photo of Simon

Simon

  • 3 Posts
  • 1 Reply Like

Posted 4 years ago

  • 1
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
You'd use the geolookup request first, and then do a conditions call for each of the returned stations.

Example:

http://api.wunderground.com/api/__YOU...

Get the ID from PWS -->Station-->ID, then do:

http://api.wunderground.com/api/__YOU...