GET /airports/:id/metar(.:format)
Overview
Returns the last METAR reported at the airport. 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
pageUsed to page through the results.per_pageThe number of results per page. Defaults to 30.
Examples Requests
- /airports/PDX/metar.xml
- /airports/12998/metar.xml
- /airports/KPDX/metar.xml
- /airports/KPDX/metars.xml?page=2
Example Response
<?xml version="1.0" encoding="utf-8"?>
<metar>
<icao-id>KPDX</icao-id>
<id>19229379</id>
<issued-at>2009-10-08 18:53:00 UTC</issued-at>
<report>KPDX 081853Z 02003KT 10SM FEW030 SCT250 14/08 A3017 RMK AO2 SLP214 T01440078</report>
</metar>
