Based on help obtained from@rkosegi , I tried to run my page and javascript through js.fiddle to test and cannot get any result to show on the test page. I get no errors when I run the page inspect in MS Edge.
I checked and double checked, but cannot find the error that is preventing the data from showing. What I am I missing?
$.getJSON("https://<username>:<password>@api.meteomatics.com/todayT05:00Z--today+2DT05:00Z:PT24H/wind_speed_10m:kmh/40.014994,-73.811646/json",
function(data) {
console.log(data);
var mtwnsd24 = data.data[0].coordinates[0].dates[1].value;
$(".mtwnsd24").append(mtwnsd24);
});
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta charset="utf-8" />
<title>API TEST</title>
<script src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-
WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<script src="meteomatics.js"></script>
</head>
<body>
<p class="mtwnsd24"></p>
</body>