You can create a PHP file and copy paste the API inside and save it (give it a name). Then on your website, you can add this code
<iframe width="xxx" height="xxx" frameBorder="0" src="filename.php"></iframe>
Replace xxx with the size you want to get. (400x800 for exemple)
or
<div id="filename"></div>
<script>
$(document).ready(function() {
$("#filename").load("filename.php");
});
</script>
with the second code, you will need to add the following code to your header (after <header>) to use jquery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>