A Python3+Flask app which acts as a local proxy to the FlightAware AeroAPI v4 and the FAA METAR api.
Python 3
flask
flask-cors
requests
xmltodict
cd /path/to/skies-adsb/flask
touch config.json
{
"FLIGHTAWARE_API_KEY": "<YOUR API KEY>"
}
note: only AeroAPI v4+ is supported
For instructions on how to create an AeroAPI v4 key go here:
https://flightaware.com/aeroapi/portal/documentation
see section on "Authentication".
python3 -m venv dev
. dev/bin/activate
pip3 install flask flask-cors requests xmltodict
cd /path/to/skies-adsb/flask
. dev/bin/activate
export FLASK_ENV=development
flask run -h 0.0.0.0
If you need to update the Flask app without having to reinstall the entire app you can run the update_flask_app.sh script as follows:
cd /path/to/skies-adsb/raspberrypi
./update_flask_app.sh