Converting IVAO Whazzup text file into JSON format using NodeJS
- Node v.8.11.4+
Name | Description | Required |
---|---|---|
general.baseurl | Base URL to site | yes |
general.whazzupurl | IVAO Whazzup status file URL | yes |
web.port | Expose port | yes |
-
Clone it!
$ git clone https://github.com/rayriffy/ivaowhazzup-to-json Cloning into 'ivaowhazzup-to-json'... remote: Counting objects: 71, done. remote: Compressing objects: 100% (14/14), done. remote: Total 71 (delta 5), reused 16 (delta 3), pack-reused 51 Unpacking objects: 100% (71/71), done.
-
Install it!
$ yarn yarn install v1.9.4 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. Done in 0.12s.
-
Run it!
$ yarn start yarn run v1.9.4
Method | URI | Description |
---|---|---|
GET | /status | Show whazzup status file |
GET | /whazzup | Show IVAO traffic and ATCs |
GET | /metar | Show METAR information |
GET | /taf | Show TAF information |
GET | /shorttaf | Show short TAF information |