forked from brandonmcfadd/cta-reliability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
35 lines (35 loc) · 2.69 KB
/
settings.json
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
{
"train-tracker": {
"api-enabled": "True",
"map-enabled": "False",
"//first-comment": "Station/Stop Information for Trains",
"//second-comment": "Enter the train station #'s to lookup",
"station-ids": ["30116","30179","30064","30065","30265","30266","30278","30053","30297","30298","30199","30215"],
"special-station-ids": ["41400"],
"map-station-ids": ["40370.0","40330.0","41440.0","41360.0", "41130.0", "41030.0", "40270.0", "41680.0"],
"special-map-station-ids": ["41400.0"],
"headway-map-station-ids": ["40390.0", "40890.0", "40350.0", "41290.0", "40460.0", "40020.0", "40510.0", "40930.0", "41400.0", "40580.0", "41160.0", "41050.0", "40900.0", "40450.0"],
"tracked-destinations": ["O'Hare ", "Forest Park", "UIC-Halsted", "Rosemont", "Jefferson Park", "Howard", "95th/Dan Ryan", "Skokie", "Harlem/Lake", "Ashland/63rd", "Cottage Grove", "Loop", "Damen"],
"api-url": "https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key={}&stpid={}&outputType=JSON",
"api-url-backup": "http://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key={}&stpid={}&outputType=JSON",
"station-api-url": "https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key={}&mapid={}&outputType=JSON",
"station-api-url-backup": "http://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key={}&mapid={}&outputType=JSON",
"map-url": "https://www.transitchicago.com/traintracker/PredictionMap/tmTrains.aspx?line=R%2CP%2CY%2CB%2CV%2CG%2CT%2CO&MaxPredictions=3",
"special-map-url": "https://www.transitchicago.com/traintracker/PredictionMap/tmTrains.aspx?line=R%2CP%2CY%2CB%2CV%2CG%2CT%2CO&MaxPredictions=100",
"headway-map-url": "https://www.transitchicago.com/traintracker/PredictionMap/tmTrains.aspx?line={}&MaxPredictions=100",
"map-url-backup": "http://www.transitchicago.com/traintracker/PredictionMap/tmTrains.aspx?line=R%2CP%2CY%2CB%2CV%2CG%2CT%2CO&MaxPredictions=2",
"little-map-url": "https://www.transitchicago.com/traintracker/PredictionMap/tmTrains.aspx?line=B&MaxPredictions=16"
},
"alerts-api": {
"api-enabled": "False",
"api-url": "http://lapi.transitchicago.com/api/1.0/alerts.aspx?routeid=P,Y,Blue,Pink,G,Org,Brn,BLS-1,GLS-2&outputType=JSON"
},
"metra-api": {
"api-enabled": "True",
"api-url": "https://gtfsapi.metrarail.com/gtfs/positions"
},
"is-cta-okay":{
"weekday": [34, 59, 71, 86, 120, 171, 233, 312, 398, 469, 536, 602, 668, 734, 805, 878, 960, 1030, 1095, 1157, 1214, 1268, 1321, 1366],
"weekend": [36, 64, 78, 92, 109, 140, 182, 228, 277, 328, 381, 435, 489, 545, 601, 655, 709, 762, 815, 866, 916, 966, 1016, 1091]
}
}