How i can get the list of cities for the country?

  • 2
  • Question
  • Updated 4 years ago
http://autocomplete.wunderground.com/...
I am using these request to get list of cities(the letter starts from 'Lin') for the country 'austria'.
But our requirement, to get the list of all cities for the country without using query search. Is there any option for this?
Photo of Vijaycheck

Vijaycheck

  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
We don't publicize our list of countries or cities because we have a proprietary database. I understand the request but at the time don't have a way of making that available while not making other information available. Updates to our location database happen as well, so if we publish them, we need to make sure they stay up to date. I'll add it to the development list though to talk about the best solution internally.
Photo of skaushalye

skaushalye

  • 2 Posts
  • 0 Reply Likes
Hi, How can I know, what are the possible data to pass to the API?
Ex: I tried to get New Delhi weather like; ../IN/NewDelhi.json
But It is returns wrong arguments :(
Photo of Tim Pointing

Tim Pointing

  • 4 Posts
  • 0 Reply Likes
One way around the lack of city lists is to use latitude and longitude. For example, you get get the forecast for New Delhi using:

http://api.wunderground.com/api/YourK...