@openscope-project/vatsim-link
v1.0.2
Published
Fetch the latest vatsim live data links from https://data.vatsim.net/ within a function
Downloads
2
Readme
Vatsim-Link
This package is intended for fetching the latest vatsim data links.
Usage:
const vatsimLk = require('vatsim-link');
vatsimLk.getLinks()
.then(links => {
if(links) console.log(links)
})
/*
{
Status: 'https://status.vatsim.net/status.json',
VatsimData: 'https://data.vatsim.net/v3/vatsim-data.json',
AllServers: 'https://data.vatsim.net/v3/all-servers.json',
VatsimServers: 'https://data.vatsim.net/v3/vatsim-servers.json',
SweatboxServers: 'https://data.vatsim.net/v3/sweatbox-servers.json',
VatsimTransceiverData: 'https://data.vatsim.net/v3/transceivers-data.json'
}
*/