Weather New API

Avatar
  • updated

Hello.

Today I was trying to add weather but on openweathermap.org they change something and no longer it is possible to copy ID of the city from URL. Is there some workaround for it?

Avatar
Ricardo Pinto

Hello,

Well, it looks like they really changed some things...

The workaround, as found on their website, is to download the City ID list and search for the ID:


http://bulk.openweathermap.org/sample/

Download the file city.list.json.gz


Best regards

Avatar
Marian Badulescu

Hello,
You can try with this link https://openweathermap.org/city


Eg: for the Leipzig I found this URL with ID

https://openweathermap.org/city/6548737