airports

An Alfred 3 workflow that provides quick access to information about all airports in the world.

From this project's GitHub repository:

Airports Workflow ✈️ for Alfred 3

Latest Version
Downloads
buddy pipeline
Issues
MIT License
Beerpay

A workflow for Alfred 3 that provides quick access to information about all airports in the world.

Search Example

The latest version can be found here as well:

Installation

Download the latest version of the airports.alfredworkflow from the Releases page and double click the downloaded file to install it.

The workflow supports automatic updates and will perform daily update checks!

Usage

When hitting ⏎ Return on a selected item, the workflow tries to be helpful by opening either the airports website or its Wikipedia page if it has one. If it has neither a website nor an entry in Wikipedia, it opens the Apple Maps.app with the location of the airport.

When holding down a modifier key, the action can be specified:

Modifier Action
Open the website of the selected airport.
ctrl Open the Wikipedia page of the selected airport.
Show the airports location in Maps.app

Since version 0.1.4, you can search for ICAO codes as well!

Developers

If you want to contribute, fork this repository and submit a pull request.

To make the project work locally on your machine, clone the repository, go to the directory and issue the following commands:

$ pip install --target=lib -r requirements.txt

Alternatively, if you would rather work with a virtual environment, run these commands:

$ virtualenv --python=python2.7 .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

To run the script in the terminal, simply do:

$ python airports.py <search query>

You can install jq from Homebrew and pipe the output of the workflow through this program to get nice formatting and the option to query the JSON.

Acknowledgements

The following resources were used when creating this workflow:

A big ♥️ thank you to all creators!

Support Me

If this is useful to you in any way, you could buy me a beer 🍺!

Beerpay Beerpay