How to get flight data using URL?


#1

Hi,

Total noob here. Bought the API, but have no idea where to start. My developer friend wants to test the API on a URL. We have similar API subscription for trains and it looks like this:

https://api.railwayapi.com/v2/route/train/12006/apikey/myapikey/

Is there similar URL for FlightXML and if yes, how can we access it? If no, what other option do I have to test it?


#2

You can use something similar to https://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1517529600&end_date=1518134400&destination=LGW&airline=EZY

Authentication will be required after the call is made and cannot be included in the URL.


#3

Two problems:

  1. It’s not accepting my username and password.
  2. If the authentication is not included in the URL, then it will be problematic for our users who will not have access to authentication details. How do we solve that?

#4

You would not have access to that method since you are on the free, starter account. I was simply providing the link for you to see how to make the call using a URL.

You should not be providing any authentication details to your users.