18.03.2020, 10:28 (This post was last modified: 18.03.2020, 10:34 by tomnord.)
(18.03.2020, 10:22)Daniel. Wrote: I tried like that you have to put coordinate of location as longitude and latitude.
Code:
123456
require('ssl.https')
require('json')
data = ssl.https.request('https://api.met.no/weatherapi/locationforecast/2.0/.json?lat=51.28&lon=-0.75')
datatable = json.pdecode(data)
log(datatable.properties.timeseries[1].data.instant.details.air_temperature)
yeah, I got some data, but I also got "nesting to deep" in the log. could try to extract spesiffic data, maybe that would do the trick.
seems to work, but the amount of data in the table is quite big, and difficult to navigate.
Any good tips to view the table in a structured way?