Extents with Webcam API

  • 2
  • Question
  • Updated 4 years ago
Does anyone know how to supply an extent for webcams queries instead of a singular point? I'm currently using http://api.wunderground.com/api/{key}..., and need to be able to get the webcams for a specific extent. I've seen it done for other parts of the API with maxLat maxLon, but can't seem to get it for this.

Thanks!
Photo of janette8811

janette8811

  • 2 Posts
  • 0 Reply Likes
  • anxious

Posted 4 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
No, there's no search functionality like that at the moment for webcams. Sorry
Photo of janette8811

janette8811

  • 2 Posts
  • 0 Reply Likes
Okay, is there a way using the countries query to use multiple countries in one request? For example, all webcams in Morocco AND Egypt?
Photo of HurricaneTrackerNC

HurricaneTrackerNC

  • 7 Posts
  • 0 Reply Likes
I would like to be able to pull down webcams where the extent is a known PWS ID. I don't necessarily need a wide search area if I know XYZ station has a webcam. I was thinking something like

http://api.wunderground.com/api/{key}...

Thoughts?
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
That should work if you provide the pws: ID in the URL.
Photo of HurricaneTrackerNC

HurricaneTrackerNC

  • 7 Posts
  • 0 Reply Likes
Thanks, Brendan. I did try that, and it turns out it gives all the webcams within some predefined distance (something I can't change) near to and around the PWS ID. What I really desire to know is if any given station has an associated webcam without having to search through all the cams nearby.