A wrapper around the VATSIM API
To install using npm run the following command
The following lines of code will import vatsim-api and will console log all the data from VATSIM.
You can do whatever you want with this data but vatsim-api includes some functions to make things easier for you.
This will get all of the data from VATSIM and log it to the console.
This will get all of the pilots currently connected to the VATSIM network.
This will get a single pilot with the callsign that you specify.
This will get a single pilot with the CID that you specify.
This will get all of the pilots with the transponder code that you specify.
This will get all of the pilots with the aircraft that you specify.
This will get all of the pilots flying at the altitude that you specify.
This will get all of the pilots flying between the altitudes that you specify.
This will get all of the pilots flying at the speed that you specify.
This will get all of the pilots flying between the speeds that you specify.
This will get all of the pilots who are departing (or have departed) from the airport that you specify.
This will get all of the pilots who are arriving (or have arrived) into the airport that you specify.
This will get all of the controllers currently online on the VATSIM network.
This will get all of the ATIS stations currently online on the VATSIM network.
This will get all of the VATSIM pilot ratings.
This will get all of the VATSIM controller types.
This will get all of the VATSIM servers.