@@ -450,7 +450,7 @@ mgr = owm.weather_manager()
450450my_city_id = 12345
451451moscow_lat = 55.75222
452452moscow_lon = 37.615555
453- weather_at_moscow = owm .weather_at_coords(moscow_lat, moscow_lon).weather
453+ weather_at_moscow = mgr .weather_at_coords(moscow_lat, moscow_lon).weather
454454```
455455
456456### Get weather at city IDs
@@ -461,8 +461,8 @@ You can enquire the observed weather on a city ID:
461461from pyowm.owm import OWM
462462owm = OWM(' your-api-key' )
463463mgr = owm.weather_manager()
464- my_city_id = 12345
465- weather = owm .weather_at_id(my_city_id).weather
464+ my_city_id = 2643743 # London
465+ weather = mgr .weather_at_id(my_city_id).weather
466466```
467467
468468or on a list of city IDs:
@@ -471,8 +471,8 @@ or on a list of city IDs:
471471from pyowm.owm import OWM
472472owm = OWM(' your-api-key' )
473473mgr = owm.weather_manager()
474- my_list_of_city_ids = [12345 , 67890 , 54321 ]
475- list_of_observations = owm .weather_at_ids(my_list_of_city_ids)
474+ my_list_of_city_ids = [2643743 , 4517009 , 5056033 ]
475+ list_of_observations = mgr .weather_at_ids(my_list_of_city_ids)
476476corresponding_weathers_list = [ obs.weather for obs in list_of_observations ]
477477```
478478
0 commit comments