Skythrust
Member
- Jul 9, 2019
- 133
- 7
Hi there,
I was wondering how I get "temp", "feels_like, "temp_min", "temp_max" out of this JSON string into C#
I would like to use this information in a textbox when I press on a button.
Thanks in advance!
I was wondering how I get "temp", "feels_like, "temp_min", "temp_max" out of this JSON string into C#
I would like to use this information in a textbox when I press on a button.
Thanks in advance!
Code:
{
"coord": {
"lon": 5.14,
"lat": 51.69
},
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "overcast clouds",
"icon": "04d"
}
],
"base": "stations",
"main": {
"temp": 11.09,
"feels_like": 7.3,
"temp_min": 11,
"temp_max": 11.11,
"pressure": 1005,
"humidity": 87
},
"visibility": 10000,
"wind": {
"speed": 5.1,
"deg": 190
},
"clouds": {
"all": 90
},
"dt": 1607956782,
"sys": {
"type": 1,
"id": 1531,
"country": "UK",
"sunrise": 1607931548,
"sunset": 1607959773
},
"timezone": 3600,
"id": 2745123,
"name": "Bristol",
"cod": 200
}