Giter Site home page Giter Site logo

iata's Introduction

This is a dumb CLI tool which prints out airport info given an IATA or ICAO code.

Don't look at the code. It's gross.

Install

go get github.com/joeshaw/iata

Usage

$ iata LAX KIAD FRA sjc CMH BOS BUTT
LAX (KLAX) - Los Angeles International Airport (Los Angeles, CA, US)
IAD (KIAD) - Washington Dulles International Airport (Washington, DC, VA, US)
FRA (EDDF) - Frankfurt am Main Airport (Frankfurt am Main, DE)
SJC (KSJC) - Norman Y. Mineta San Jose International Airport (San Jose, CA, US)
CMH (KCMH) - John Glenn Columbus International Airport (Columbus, OH, US)
BOS (KBOS) - General Edward Lawrence Logan International Airport (Boston, MA, US)
BUTT - not found

Airport data

Airport data comes from https://github.com/datasets/airport-codes. The airports.csv file is copied into the tools subdirectory. Running go generate . from the toplevel directory will regenerate the Go file containing the airport data from it.

License

MIT

iata's People

Contributors

joeshaw avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

guoyu07

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.