I am using the weather API as below:
http://api.openweathermap.org/data/2.5/weather?lat=21.422749&lon=39.826122&units=metrics&appid=3e4a4bbd1a7dedb59ee44b2a63078c30
The response i am getting is:
{
"coord":{
"lon":39.83,
"lat":21.43
},
"weather":[
{
"id":800,
"main":"Clear",
"description":"clear sky",
"icon":"01n"
}
],
"base":"stations",
"main":{
"temp":285.111,
"pressure":1001.43,
"humidity":84,
"temp_min":285.111,
"temp_max":285.111,
"sea_level":1029.12,
"grnd_level":1001.43
},
"wind":{
"speed":1.16,
"deg":30.5026
},
"clouds":{
"all":0
},
"dt":1483056799,
"sys":{
"message":0.0119,
"country":"SA",
"sunrise":1483070275,
"sunset":1483109331
},
"id":104515,
"name":"Mecca",
"cod":200
}
The "temp":285.111 is incorrect.
Please correct me if i am wrong.
I am using the weather API as below:
http://api.openweathermap.org/data/2.5/weather?lat=21.422749&lon=39.826122&units=metrics&appid=3e4a4bbd1a7dedb59ee44b2a63078c30
The response i am getting is:
{
"coord":{
"lon":39.83,
"lat":21.43
},
"weather":[
{
"id":800,
"main":"Clear",
"description":"clear sky",
"icon":"01n"
}
],
"base":"stations",
"main":{
"temp":285.111,
"pressure":1001.43,
"humidity":84,
"temp_min":285.111,
"temp_max":285.111,
"sea_level":1029.12,
"grnd_level":1001.43
},
"wind":{
"speed":1.16,
"deg":30.5026
},
"clouds":{
"all":0
},
"dt":1483056799,
"sys":{
"message":0.0119,
"country":"SA",
"sunrise":1483070275,
"sunset":1483109331
},
"id":104515,
"name":"Mecca",
"cod":200
}
The "temp":285.111 is incorrect.
Please correct me if i am wrong.