I would like to access the data in the json file but for some reason loadJSON() doesn’t like the url.
Any ideas? Thank you!
url = 'https://opendata.euskadi.eus/contenidos/ds_informes_estudios/covid_19_2020/opendata/generated/covid19-bymunicipality.json'
let req = new Request(url);
let response = await req.loadJSON();
I’d say that the page output is probably not valid JSON.
I tried copying it directly from Safari as well as Shortcuts so that I could put it into a JSON validator, and Safari couldn’t even give me the option to copy the page content.