Trying to retrieve the city code for my location for the ThingPulse weather station. Entering
https://openweathermap.org/find?q=coppell returns the weather for the city. I need a
city code in my app … ???
You should select the city, and press on it. New page will be opened, and it’s address will have city id, for example:
https://openweathermap.org/city/4683217; 4683217 is city ID
Or you can use list of city IDs http://bulk.openweathermap.org/sample/city.list.json.gz