Source of data - site [url removed, login to view]
Need to raise service (anywhere on your hosting or locally with access from the outside) on nodejs.
On the service side (front) should be the form with fields
- IATA airport code
- Type of schedule (departure / arrival)
- Airline (optional)
FlightStats inquiry should be asynchronous.
The first request from the client to the server for data query returns the ID, then AJAX-th query is a status check every 2 seconds and display information into the ready answer.
Issue the response in the form of table below.
If the airline code is not specified, the current time period + / - 4 hours.
Destination (code) | Flight (with code-sherami - to understand it) | Airline | Departure Schedule / Actual | Gate | Status
If the airline code is specified, all flights today on this AK (+ / - 12 hours - night in the center of the current time period)
Date | Destination (code) | Flight (with code-sherami - to understand it) | Departure Schedule / Actual | Gate | Status