How do i get the (wind) speed from json?


Try like this


are u able to explain why yours works but not mine haha...

All depends on json's structure you could use those blocks if wind's value was an array like weather/description but here you are dealing with objects

Are you using the openweathermap api?

You can do this:


1 Like