From 68917c3907b389729bde158c3008a3947ebadd11 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Mon, 18 Mar 2024 21:58:29 +0100 Subject: [PATCH] making the program listen to the airport ICAO code in config --- datapull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapull.py b/datapull.py index 41c001c..c522d20 100644 --- a/datapull.py +++ b/datapull.py @@ -6,7 +6,7 @@ import requests apiUrl = "https://aeroapi.flightaware.com/aeroapi/" -airport = 'EBBR' +airport = config.AIRPORT payload = {'max_pages': 2} auth_header = {'x-apikey':config.FLIGHTAWAREKEY}