This project offers a REST API to get information on:
It currently relies on https://www.github.com/davidmegginson/ourairports-data . Data is refreshed every 24h.
There is no garantee that the provided data is in any way conform to the latest AIRAC cycle.
This data MUST NOT be used to plan real life flights.
navaid_auth_token
. If not set, token verification is bypassed:memory
, which means not persistentGET /airport?search={query}
: look for an airport based on query
string. Answer first 100 resultsGET /airport/{icao}
: look for an airport based on its ICAO codeGET /navaid?search={query}
: look for a navaid (VOR, DME, ADF...) based on query
string. Answer first 100 resultsGET /navaid/{icao}
: look for an navaid based on its ICAO codeConfig files must be given for docker as /config/config.yaml
.
Format is:
http:
host: 127.0.0.1
port: 8080
security:
auth_tokens:
- aaaa
- bbbb
- cccc
database:
backend : MONGODB # can be either SQLITE or MONGODB
path : mongodb://localhost:27017 # Mongo URI if mongo (mandatory. Path to sqlite file if sqlite. If sqlite and no path, memory is used