Removed the API key left accidentally in the code. The key is now invalidated.

This commit is contained in:
Nahuel Lofeudo 2023-03-07 19:41:37 +00:00
parent b04648b1e2
commit e961c7bc42
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from arrival_times import ArrivalTime
# Constants and configuration # Constants and configuration
GTFS_BASE_DATA_URL = "https://www.transportforireland.ie/transitData/google_transit_combined.zip" GTFS_BASE_DATA_URL = "https://www.transportforireland.ie/transitData/google_transit_combined.zip"
GTFS_R_URL = "https://api.nationaltransport.ie/gtfsr/v1?format=json" GTFS_R_URL = "https://api.nationaltransport.ie/gtfsr/v1?format=json"
API_KEY = '470fcdd00bfe45c188fb236757d2df4f' API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
BASE_DATA_MINSIZE = 20000000 # The zipped base data should be over 20-ish megabytes BASE_DATA_MINSIZE = 20000000 # The zipped base data should be over 20-ish megabytes
class GTFSClient: class GTFSClient: