GET /airports/:id(.:format)
Overview
Returns the airport specified by the given id. The id can be either the FlightCaster id, the 3 character IATA id, or the 4 character ICAO id of the airport.
Examples Requests
- /airports/PDX.xml
- /airports/KPDX.xml
- /airports/12998.xml
Example Response
<?xml version="1.0" encoding="utf-8"?>
<airport>
<city>Portland</city>
<country>United States</country>
<elevation>9</elevation>
<faa-id>PDX</faa-id>
<iata-id>PDX</iata-id>
<icao-id>KPDX</icao-id>
<id>12998</id>
<latitude>45.5884557</latitude>
<longitude>-122.5974516</longitude>
<name>Portland International Airport</name>
<postal-code>97218</postal-code>
<state>OR</state>
<time-zone>America/Los_Angeles</time-zone>
<weather-zone/>
</airport>
