I am trying to make a website that displays the information that this API gives in a neat way. I've got the design pretty much finished, but now I need to actually get this information in. The information I want to get is from https://api.roleplay.co.uk/v1/player/xxx and I might want to replace the '...' in h1 in the code below with the "name" bit from the API. How do I go about doing that? I know nothing about JS whatsoever and I prefer to learn by actually doing things. Here's my snippet of code that's relevant:
        <div class=playerdata>
            <div class=head>
                <h1 id="playerName">...</h1>
                <h2>'STEAMID'</h2>
                <button>Steam Profile</button>
                <button>Forum Profile</button>
                <button>Report</button>
                <button>Recommend</button>
            </div>