I am trying to create a google sheet that will fetch live data from openweather.org , I have managed to fetch live min and max temp, however everytime I am trying to access the ["weather"]["main"] it's returning "undefined" can please someone help me? what am I doing wrong?
CodePudding user response:
Try
resJson.weather[0].main
or
resJson['weather'][0]['main']