leirn / navdata

REST API to get information about airports and navaids
0 stars 0 forks source link
adf airport dme frequency iata icao navaid runway vor

NAVAID and AIRPORTS REST API

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.

WARNING : NO AIRAC COMPLIANCY

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.

Usage

Environment parameters

API

Config file

Config 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