Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epranka/airports-db
Public airports database API service based on GitHub
https://github.com/epranka/airports-db
airport airports api aviation csv data database json node node-js service
Last synced: about 1 month ago
JSON representation
Public airports database API service based on GitHub
- Host: GitHub
- URL: https://github.com/epranka/airports-db
- Owner: epranka
- Created: 2020-04-16T12:15:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T12:58:44.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T22:37:31.597Z (almost 2 years ago)
- Topics: airport, airports, api, aviation, csv, data, database, json, node, node-js, service
- Language: JavaScript
- Homepage:
- Size: 57.1 MB
- Stars: 19
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
✈️ Public airports database
This project is deprecated and unmaintainable due to the GitHub limitations. Please use the https://airportdb.io for free airport database API
GitHub based API service
This is a JSON database of airports which contains about 56k airports with their runways, communication frequencies,
navaids, countries, and regions information. The database is not 100% accurate because can have older data, so do not use it for a real flight or very sensitive applications.
But it works well to get basic information about the airport.How to use it? 🤔
> John F Kennedy International Airport [KJFK](https://github.com/epranka/airports-db/blob/master/icao/KJFK.json)
The main idea of this repository is to get the `JSON` data about the airport by using its ICAO code.
Every airport has its own JSON file placed in [icao](https://github.com/epranka/airports-db/tree/master/icao) directory.So, to get the information about the airport use the following url:
`https://raw.githubusercontent.com/epranka/airports-db/master/icao/.json`
> ICAO code must be in uppercase
For example
```bash
$ curl https://raw.githubusercontent.com/epranka/airports-db/master/icao/KJFK.json
```If airport is not found, the 404 status code is returned.
Have ideas on how to improve it? Feel free to share it on the [GitHub Issues](https://github.com/epranka/airports-db/issues).
Data is based on [ourairports.com](https://ourairports.com/) database. You can download the raw CSV files from [raw](https://github.com/epranka/airports-db/tree/master/raw) directory.
The repository will be updated automatically every day at 7:00 UTC. You can get the latest CSV files here: [https://ourairports.com/data/](https://ourairports.com/data/)