vatsim-link
v1.0.0
Published
Fetch the latest vatsim live data links from https://data.vatsim.net/ within a function
Downloads
1
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'
}
*/