Package: iata-arrivals-cli
The IATA Arrivals CLI (Command Line Interface)A simple tool to show dapartures, arrivals and various airport information given an IATA code or country name.STATUS:VersionDateMaintained?Working1.0.22022-01-21YESExample Output:(FFS always include a screenshot in your GitHub repo!)Repo DescriptionThis is a repository of variousPython3and (eventually)Node.jstools that can be
used to obtain various flight information from airports around the globe. The tools
here depend on both some open source libraries and some provider API's. However, most
likely the functionality of this can easily be broken as the services are private and
the tools often depend on various forms of web scraping and API hacking.Q:What doesarrivalsdo?arrivalsis aPython3script that display current arrivals and departures given an
airportIATAcode. However, it can also show
additional airport and weather information. These include items such as:The officialIATAfull/longNameof the airportThe IATA andICAOairport codesTheLat/LonGPS coordinates withmapURLThe AirportwebsiteURLThe current weather info such as:Nav, Sky, Visibility, Temperature, Pressure, Wind Speed/Direction, Humidityetc.The Airport's currentMETARinfoThe ICAO code and IATA names of most officially listed airports for a given country name.The most recent and schedulednon-stopflights between 2 given airports.Q:What does itnotdo?show detailed flight infoshow aircraft or carrier infoshow aiport info for airports not connected to the internationalair traffic controller (ATC) network or internet.it may not show the very latest METAR data (depending on Airport availability)Screenshots!DependenciesThis package depend on the API librarypyflightdata,
which is used to collect all the relevant data from theFlightRadar24site. However, that library
in turn depend on:beautifulsoup4, jsonpath-rw, lxml, metar, requests, ply, decorator, html5lib, webencodingsIt is also recommended to installlxmlbefore, you installpyflightdata,
because that dependency often require extra source compiling, which is prone to
additional dependency errors.InstallationFor pip install:pipinstalliata-arrivals-cliFor manual/development install:First install all dependencies from aboveThen installpyflightdataThen clone this repositoryThen install it in your bin path at your convenienceIn other words you can do this:# pip install <dependencies-from-above>pipinstallpyflightdata
gitclonehttps://github.com/E3V3A/iata-arrivals-cli.gitcdiata-arrivals-cli#pip install iata-arrivals-cliUsage$ arrivals -h

 Usage:  arrivals [options] <airport-IATA-code>

 Options:
        -d <airport-iata>    -- Show Departures instead of Arrivals (default)
        -n <n>               -- Only show next <n> number of flights
        -i <airport-iata>    -- Show information about an Airport given its IATA code [Country, Lat/Lon, TZ]
        -j <1,2>             -- Enable debug mode at level 1 or 2 to print the full JSON response
        -l <country-name>    -- List all available airport IATA codes for a country given by <country-name>
        -m <airport-iata>    -- Get last hour's METAR data for an airport given by its IATA <airport-code>
        -x <iata-1> <iata-2> -- Show direct fligths between 2 airports given by their <iata> codes
        -c                   -- Print Copyright License and maintenance URL.
        -v                   -- Print program Version
        -h, --help           -- Print this help


 --- IMPORTANT! -----------------------------------------------
   • All times shown are in the timezone of your computer!
   • Do not attempt to run these queries in rapid succession,
     as your IP might get blocked by the API providers.
 --------------------------------------------------------------DevelopmentFeel free to send a PR in case you have some improvements.Related Projectspyflightdataflightradar24MMM-aviationwx- AMagicMirrorMETAR moduleMMM-FlightsAbove- A MagicMirror Module for displaying current flights in the sky above you!Do you know of - or have any others? (Post it in an new issue.)Even more...https://github.com/jhermsmeier/node-flight-designatorhttps://github.com/ram-nadella/airport-codeshttps://github.com/jpatokal/openflightshttps://github.com/derhuerst/flightradar24-clienthttps://github.com/iatacodes/nodejs-sdkhttps://github.com/Otetz/iata_codeshttps://github.com/msgrasser/iata-parserhttps://github.com/leopieters/aviation-edge-apihttps://github.com/marians/py-icao-aircrftand so on...Related Services Usedhttp://pyflightdata.readthedocs.io/en/latest/pyflightdata.htmlhttps://www.latlong.net/https://aviationweather.gov/http://services.faa.gov/airport/status/<IATA_CODE>?format=application/jsonhttp://www.fly.faa.gov/flyfaa/usmap.jspLicenseA license to :sparkling_heart:!I useGPLv3because sharing code modifications is more beneficial for the world.