So, I am a newbie to js and don't have much knowledge of JSON... I was making a speech-assistant kind of thing with node and when I came upon weather I googled it...I just ctrl+c ctrl+v somethings (I am just 14) The output I am getting is
[
{
location:
{
name: 'Chennai, India',
zipcode: undefined,
lat: '13.012',
long: '80.221',
timezone: '5.5',
alert: '',
degreetype: 'F',
imagerelativeurl: 'http://blob.weather.microsoft.com/static/weather4/en-us/'
},
current: {
temperature: '86',
skycode: '31',
skytext: 'Mostly Clear',
date: '2020-07-24',
observationtime: '22:00:00',
observationpoint: 'Chennai, India',
feelslike: '99',
humidity: '79',
winddisplay: '8 mph South',
day: 'Friday',
shortday: 'Fri',
windspeed: '8 mph',
imageUrl: 'http://blob.weather.microsoft.com/static/weather4/en-us/law/31.gif'
},
forecast: [ [Object], [Object], [Object], [Object], [Object] ]
},
{
location: {
name: 'Chennai, India',
zipcode: undefined,
lat: '13.072',
long: '80.202',
timezone: '5.5',
alert: '',
degreetype: 'F',
imagerelativeurl: 'http://blob.weather.microsoft.com/static/weather4/en-us/'
},
current: {
temperature: '86',
skycode: '31',
skytext: 'Mostly Clear',
date: '2020-07-24',
observationtime: '22:00:00',
observationpoint: 'Chennai, India',
feelslike: '99',
humidity: '79',
winddisplay: '8 mph South',
day: 'Friday',
shortday: 'Fri',
windspeed: '8 mph',
imageUrl: 'http://blob.weather.microsoft.com/static/weather4/en-us/law/31.gif'
},
forecast: [ [Object], [Object], [Object], [Object], [Object] ]
}
]
(if you don't like the look of this then--> https://docs.google.com/document/d/1jW0eqrgAfYQwqpuA3SDULwfwpWbyKi1CDwNAVnN2YT8/edit?usp=sharing )
Can anyone please help me get the values of things like temperature, sky text, humidity and same for the forecast
Thanks a lot...