Skip to content

Airports is a collection of all known airports. Data source is https://openflights.org/data.html

License

Notifications You must be signed in to change notification settings

martide/airports

This branch is 16 commits ahead of, 11 commits behind nerds-and-company/airports:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 22, 2024
Jan 7, 2025
Feb 14, 2025
May 30, 2024
Dec 26, 2021
Jan 24, 2022
Jan 10, 2025
Jun 9, 2017
Feb 14, 2025
May 5, 2017
Feb 14, 2025
Jul 19, 2024
Feb 14, 2025

Repository files navigation

Airports

Airports is a collection of all known airports. Data source is https://github.com/davidmegginson/ourairports-data

Installation

If available in Hex, the package can be installed by adding airports to your list of dependencies in mix.exs:

def deps do
  [{:airports, "~> 1.0"}]
end

Updating airports data with timezone

Airports depends on tz_world for timezone data. Update airports and timezone data by running the following command:

mix airports.update

This command will automatically download the latest airports data from the data source, put timezone data for each airport, and save it to priv/airports.csv and priv/airports_with_tz.csv respectively.

Contributing

Before opening a pull request, please open an issue first.

Once we've decided how to move forward with a pull request:

$ git clone https://github.com/nerds-and-company/airports.git
$ cd airports
$ mix deps.get
$ mix test

Once you've made your additions and mix test passes, go ahead and open a PR!

About

Airports is a collection of all known airports. Data source is https://openflights.org/data.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%