Skip to content

Commit 1e3d593

Browse files
committed
Removed API information
1 parent 5e38bc1 commit 1e3d593

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

  • MatrixPortal_S3_Flight_Proximity_Tracker

MatrixPortal_S3_Flight_Proximity_Tracker/code.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@
2626
# Release any existing displays
2727
displayio.release_displays()
2828

29-
# max - 40.702570, -73.832641
30-
# min - 40.677529, -74.017174
29+
3130

3231
# --- API Configuration ---
3332
API_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

3736
quotes_url = "https://www.adafruit.com/api/quotes.php"
3837

@@ -112,17 +111,8 @@ def degrees_to_cardinal(d):
112111

113112
seen_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

128118
api_url = "https://aeroapi.flightaware.com/aeroapi/flights/search"

0 commit comments

Comments
 (0)