Once completed the aviation-scraper CLI, it’s time to use it.
I’ve downloaded the data and exposed different JSON files with all the data in an organized and usable way. To have them available you only need to do
npm install aviation-json
For this module I have also created a CLI. The Makefile with a single command
make sync downloads all the data from wikipedia with the aviation-scrapper CLI and then updates the JSON files that the package exposes.
Filtered and made available the data so it can be used fast.
Let’s say that you want to see all the information from American Airlines, you just need the following:
var aviationJson = require("aviation-json");
Normalized the diversity of results and established the most convenient indexes for the objects.