diff --git a/api-key.txt b/api-key.txt new file mode 100644 index 0000000..dcbe830 --- /dev/null +++ b/api-key.txt @@ -0,0 +1 @@ +API KEY FROM https://developer.nationaltransport.ie/ GOES HERE \ No newline at end of file diff --git a/gtfs_client.py b/gtfs_client.py index d6aa07a..37ecd8a 100644 --- a/gtfs_client.py +++ b/gtfs_client.py @@ -16,7 +16,7 @@ import shutil class GTFSClient(): GTFS_URL = "https://api.nationaltransport.ie/gtfsr/v2/gtfsr?format=json" - API_KEY = "" + API_KEY = open("api-key.txt").read() def __init__(self, feed_url: str, stop_codes: list[str], update_queue: queue.Queue, update_interval_seconds: int = 60): self.stop_codes = stop_codes