The temperature is F.


°F

Humidity :%

Wind-Speed : meter/sec

Sunrise:,Sunset:

https://openweathermap.org/weather-conditions
---------------------------------- Call current weather data https://api.openweathermap.org/data/2.5/weather?lat=39.1958&lon=-95.2083&appid=02937867dce4be1ea755fb1a3378315d&units=imperial https://api.openweathermap.org/data/2.5/weather?q=McLouth,us&appid=02937867dce4be1ea755fb1a3378315d&units=imperial ---------------------------------- Call 5 day / 3 hour forecast data https://api.openweathermap.org/data/2.5/forecast?lat=39.1958&lon=-95.2083&appid=02937867dce4be1ea755fb1a3378315d&units=imperial https://api.openweathermap.org/data/2.5/forecast?q=McLouth,us&appid=02937867dce4be1ea755fb1a3378315d&units=imperial ---------------------------------- callback api.openweathermap.org/data/2.5/forecast?lat=39.1958&lon=-95.2083&appid=02937867dce4be1ea755fb1a3378315d&units=imperial&callback=test api.openweathermap.org/data/2.5/forecast?q=McLouth,us&appid=02937867dce4be1ea755fb1a3378315d&units=imperial&callback=test ----------------------------------------- cnt optional A number of timestamps, which will be returned in the API response. https://api.openweathermap.org/data/2.5/forecast?lat=39.1958&lon=-95.2083&appid=02937867dce4be1ea755fb1a3378315d&units=imperial&cnt=3 https://api.openweathermap.org/data/2.5/forecast?q=McLouth,us&appid=02937867dce4be1ea755fb1a3378315d&units=imperial&cnt=3 The cnt parameter gives you the count of data. With this endpoint you get a 5 day forecast with a 3 hour interval per day, which means: Copy 1 day - cnt = 8 2 days - cnt = 16 3 days - cnt = 24 4 days - cnt = 32 5 days - cnt = 40 ---------------------- res.json()).subscribe(data => { this.items = data; for(var i = 0; i < this.items.list.length; i++){ this.dates = this.items.list[i].dt_txt.substring(10); this.temps = this.items.list[i].main; //if 12 o'clock middat is found arraycontainsMidday = (this.dates.indexOf("12:00:00") > -1); } for(var j = 0; j < this.items.list.length; j++){ this.temps = this.items.list[j].main.temp; } }) } -->