How can I call all the data in "md" and display it in a table? I've tried multiple values but none seem to work. Can someone guide me on how to use the "md" value to display in a table?
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
$.get("https://cricapi.com/api/matches?apikey==apikey", function(matchdata) {
console.log(matchdata.matches);
matchdata.matches.forEach(function(md) {
console.log(md.description + " - to grab more details, simply use the unique_id " + md.unique_id + " with the cricketScore api!");
return true;
});
});
</script>