making the program listen to the airport ICAO code in config

This commit is contained in:
Arnold Dechamps 2024-03-18 21:58:29 +01:00
parent f1676580ee
commit 68917c3907
No known key found for this signature in database
GPG key ID: AE66543374E41C89

View file

@ -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}