This web service reports on weather at all airports and airfields that have a registered ICAO (International Civil Aviation Organisation) number. Input to all methods is the ICAO designation e.g. EIDW for Dublin Airport Ireland or KJFK for JFK Airport in New York, USA. The weather service data is provided by the US Government's National Weather Service; - this data is freely available and reuseable, but is non-copyrightable in its raw form.
There are several methods for retrieving weather items (e.g. getWind(), getTemperature()) which return a string. However, there is also a method, getSummary(), which returns a complex object, the fields of which can be inspected.
The following are IATA/FAA designations for some popular airports:
- JFK - New York JFK
- LAX - Los Angeles Intl.
- DUB - Dublin, Ireland
- HKG - Hong Kong Intl.
- AMS - Amsterdam
- LHR - London Heathrow
- SYD - Sydney Intl.
- TYO - Tokyo Intl.
- CAI - Cairo
Alternately, you can go to http://www.iata.org/codes/ to find your local aiport.
Methods: getLocation(), getWind(), getTemperature(), getSky(), getPressure(), getHumidity(), getOb(), getSummary() |