Getting a City ID

In order to get weather data for your city, you need to get the City ID.

  • Start by going to OpenWeather and searching for your city (I'll be using New York for an example)

  • Once on your cities page, look at the address bar and note the number at the end

Last updated