JSON cities for Puerto Rico and Argentina

  • 1
  • Question
  • Updated 5 years ago
Hey guys... I want to get the weather conditions for Puerto Rico and Argentina via php, but can't find the json urls for these countries (their cities)... can anyone help me please...?
Photo of iiway

iiway

  • 5 Posts
  • 0 Reply Likes
  • sad

Posted 5 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
You can't select a whole country at a time, only individual cities. Here's a city search example:
http://api.wunderground.com/api/KEY/g...
Photo of iiway

iiway

  • 5 Posts
  • 0 Reply Likes
Ok, got it, thank you!

How can I select Buenos Aires's weather, Argentina?

PS: the link you gave me returns an error
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
The link gives an error because you need to replace your key in the string. Read more about how to do searches here: http://www.wunderground.com/weather/a...
Photo of iiway

iiway

  • 5 Posts
  • 0 Reply Likes
You're right! thanks a lot!