Skip to content

Simple and powerful CLI app to get worldwide airport information in JSON format

Notifications You must be signed in to change notification settings

AI-Omar/airport-crawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airport Crawler

A simple HTML Parser for grabbing the list of airports available in the World Airport Codes website

Requirements

  • Ruby 2.2 or greater

How to

Download dependencies

$bundle install

Run

$ruby airport_crawler.rb

Result

It will generate a .JSON file with all airports (the ones with IATA code). The file is optimized to get a small size and be embedded in your app (around 700 KB). You can change the code to generate a fancier output if you want.

[
  /* IATA;AirportName;City;Country */
  "ATT;Atmautluak;Atmautluak;United States"
]

About

Simple and powerful CLI app to get worldwide airport information in JSON format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%