Querying Airports - sjc5897/AFRS GitHub Wiki
To query an airport simply enter airport,airport.
- airport is the three letter code for the airport.
This if successful returns airport,airport-name,weather,temperature,delay.
- airport-name is the full name of the airport. EX BOS would be Boston (local) or General Edward Lawrence Logan International Airport (faa).
- weather is the current weather. Ex Sunny
- temperature is the current temperature.
- delay is the delay time.
The information for airports come from one of two locations. It can either come from the FAA's website or the local storage. The FAA's website is the correct real time airport information and is the recommended use. The local is used more for debugging and just rotates through a set list of weathers and a set delay. To switch the type of airport search type server,info-server;.
- info-server is just the server location either local or faa. If successful you will get confirmation. If not an error will come up.