GET /airlines/:id(.:format)
Overview
Returns the airline specified by the given id. The id can be either the FlightCaster id, the 2 character IATA identifier, or the 3 character ICAO identifier of the airline.
Note: IATA issues 'controlled duplicates', so it is recommended that the ICAO identifier be used. Controlled duplicates are issued to regional airlines who do not operate in the same air space.
Examples Requests
- /airlines/VX.xml
- /airlines/VRD.xml
- /airlines/4541.xml
Example Response
<?xml version='1.0' encoding='utf-8' ?>
<airline>
<callsign>REDWOOD</callsign>
<country>United States</country>
<iata-id>VX</iata-id>
<icao-id>VRD</icao-id>
<id>4541</id>
<name>Virgin America</name>
</airline>
