GET /airports/:id/tafs(.:format)
Overview
Returns a list of TAFs reported at the specified airport, in descending order according to the issued_at field. The id can be either the FlightCaster id, the 3 character IATA id, or the 4 character ICAO id of the airport.
Limited to 30 results by default. The page parameter can be used scroll through the results.
Parameters
page Used to page through the results.
per_page The number of results per page. Defaults to 30.
Examples Requests
- /airports/PDX/tafs.xml
- /airports/12998/tafs.xml
- /airports/KPDX/tafs.xml?page=2
Example Response
<?xml version="1.0" encoding="utf-8"?>
<tafs current-page="1" total-entries="5" total-pages="3">
<taf>
<icao-id>KPDX</icao-id>
<id>606167</id>
<issued-at>2009-10-08 05:20:00 UTC</issued-at>
<report>TAF KPDX 080520Z 0806/0906 VRB03KT P6SM SCT250
TEMPO 0810/0814 FEW012
FM081600 30005KT P6SM SCT150 SCT250
FM082200 28006KT P6SM SCT080 SCT200
FM090200 27006KT P6SM SCT035 BKN060</report>
</taf>
<taf>
<icao-id>KPDX</icao-id>
<id>604595</id>
<issued-at>2009-10-07 23:41:00 UTC</issued-at>
<report>TAF KPDX 072341Z 0800/0824 32006KT P6SM SKC
FM080500 VRB03KT P6SM SKC
TEMPO 0810/0814 FEW012
FM081600 30005KT P6SM SCT250
FM082200 25006KT P6SM SCT060 SCT200</report>
</taf>
</tafs>
