File tree Expand file tree Collapse file tree
MatrixPortal_S3_Flight_Proximity_Tracker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626# Release any existing displays
2727displayio .release_displays ()
2828
29- # max - 40.702570, -73.832641
30- # min - 40.677529, -74.017174
29+
3130
3231# --- API Configuration ---
3332API_URL = "http://airlabs.co/api/v9/flights?api_key="
34- API_KEY = "f1880f2c-1a0e-4165-bbc7-7507cff6c936 "
35- TEST_API = "http://opensky-network.org/api/states/all?lamin=40.696377&lomin=-73.940979&lamax=40.699356&lomax=-73.911090 "
33+ API_KEY = ""
34+ TEST_API = "http://opensky-network.org/api/states/all?"
3635
3736quotes_url = "https://www.adafruit.com/api/quotes.php"
3837
@@ -112,17 +111,8 @@ def degrees_to_cardinal(d):
112111
113112seen_flight_numbers = set () # To keep track of processed flight numbers
114113
115- user_lat = 40.68406917331829
116- user_lng = - 73.92215541728851
117- user_location = (user_lat , user_lng )
118114
119115
120- bounding_box = {
121- "min_latitude" : 40.7128 ,
122- "max_latitude" : 40.8138 ,
123- "min_longitude" : - 74.0160 ,
124- "max_longitude" : - 73.9160 ,
125- }
126116
127117
128118api_url = "https://aeroapi.flightaware.com/aeroapi/flights/search"
You can’t perform that action at this time.
0 commit comments