-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
39 lines (32 loc) · 940 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Global parameters
# URLs and API keys for the different parts of the GTFS-R feed
# You should not change these unless a new version of the API is released
gtfs-feed-url: "https://www.transportforireland.ie/transitData/Data/GTFS_Realtime.zip"
gtfs-r-api-url: "https://api.nationaltransport.ie/gtfsr/v2/TripUpdates?format=json"
# You should change this one. Use the key you get from TFI when you register for GTFS-R access
gtfs-r-api_key: "API KEY GOES HERE"
# How often to refresh the display.
# It must be strictly larger than 60 because the GTFS-R API will throttle us otherwise
update-interval-seconds: 62
# The font to use for the display.
font-file: "jd_lcd_rounded.ttf"
stops: [
{
# Route 15A
stop_id: 1114,
walk_time: 15,
routes: ["15A"]
},
{
# route 54A
stop_id: 2410,
walk_time: 9,
routes: ["54A"]
},
{
# route 9
stop_id: 2438,
walk_time: 15,
routes: ["9"]
}
]