Connect to API

Hi all, currently working on a live map for IF. However how do I connect my API key? Using requests?

Cheers

1 Like

There are 2 options here:

  1. One option is to do an HTTP POST request where the key is included, you can consult any page on the LiveAPI in user guide
  2. A much simpler option is to just add ?apikey=blablabla to the end of your request URL

If you’re using swift (as that’s what Xcode is usually used for nowadays) I can help you out with that with more direct links to tutorials, docs and sample code

2 Likes

Have you read the documentation? The Infinite Flight website has good information about how to use the API, as well as links to tutorials about HTTP and using APIs.

Here are some samples using the Live API you can use to look at and get started.

2 Likes