Skip to content

About

JSON version of the OurAirports airports.csv

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

OurAirports JSON

Updated JSON version of the OurAirports Database.

Usage

Installation

npm install @mm-coder/ourairports-json

Typescript

import * as airports from 'ourairports-json'

Javascript

const airports = require('ourairports-json')

Format

Airports is an array of airports as follows:

{
    "id": "4461",
    "ident": "LPPT",
    "type": "large_airport",
    "name": "Humberto Delgado Airport (Lisbon Portela Airport)",
    "latitude_deg": "38.7813",
    "longitude_deg": "-9.13592",
    "elevation_ft": "374",
    "continent": "EU",
    "iso_country": "PT",
    "iso_region": "PT-11",
    "municipality": "Lisbon",
    "scheduled_service": "yes",
    "gps_code": "LPPT",
    "iata_code": "LIS",
    "local_code": "",
    "home_link": "http://www.ana.pt/en-US/Aeroportos/lisboa/Lisboa/Pages/HomeLisboa.aspx",
    "wikipedia_link": "https://en.wikipedia.org/wiki/Lisbon_Portela_Airport",
    "keywords": "Lisboa"
}

Updating

Running the updater will update the ./dist/airports.json with the latest information in the OurAirports database

pip install -r requirements.txt
python3 updater.py

Inspiration

Was inspired by this outdated package

About

JSON version of the OurAirports airports.csv

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages