title: How do I use an api with an api key in Xcode?
body: <p>I am currently trying implement Tracker Networks API into an Xcode project. I know how to do this using Node.js and html, but can’t seem to figure it out using Swift in Xcode.</p>
  
  <p>The website says to use a get request using this —> “GET <a href="https://api.fortnitetracker.com/v1/store" rel="nofollow noreferrer">https://api.fortnitetracker.com/v1/store</a>”</p>
  
  <p>And then they say to, “To make use of our APIs we require you to use an API Key. To use the API key you need to pass it along as a header with your requests.”</p>
  
  <p>And here is my API key (fake api key):
  TRN-Api-Key: d93742a5-94d0-482c-8714-23c6660225555</p>
  
  <p>If some could show me how to set this up it’d mean a lot to me. Thanks.</p>