vatsim-stats

0.0.1 • Public • Published

Vatsim Stats

This is a basic wrapper for the Vatsim API, which is not particularly well documented. Documentation and development for this package is still in progress but over 30 usefull endpoints are planned, giving you access to the full scope of data that the Vatsim platform has to offer.

npm version install size

Installation

From the project directory, run npm install vatsim-stats. Make sure npm is already configured for your project

Endpoints

Metadata

Unique Users

This function returns an integer representing all unique users currently connected to the Vatsim network.

const vatsim_stats = require('vatsim-stats');
vatsim_stats.metadata.getUniqueUsers().then((response) => {
    console.log(response);
})

Airports

Get Full Airport MetaData

This function simply gets all metadata in JSON format including arrivals, departures, and amount of controllers.

const vatsim_stats = require('vatsim-stats');
vatsim_stats.apt_data.getAllAiportData("KSFO").then((response) => {
    console.log(response); // json object
})

Readme

Keywords

Package Sidebar

Install

npm i vatsim-stats

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • yumyumcurryman