jclarke0000 / MMM-MyTTC

MagicMirror module for Toronto Transit wait times.
7 stars 4 forks source link

Subway routes and stops #2

Open roccodicarlo opened 4 years ago

roccodicarlo commented 4 years ago

It doesn't seem to have the subway line (Bloor-Danforth East and west) routes or stops. Is it supported?

onshisan commented 1 year ago

From the readme:

https://github.com/jclarke0000/MMM-MyTTC/blob/29d038580a64c9ed71093f6705d7b66429bb2992/README.md?plain=1#L6

The data feeds used by this module don't include the subway.

That said, I do see that TTC does provide subway arrival times on the web here:

https://www.ttc.ca/routes-and-schedules https://www.ttc.ca/routes-and-schedules/1/0 https://www.ttc.ca/routes-and-schedules/2/0 https://www.ttc.ca/routes-and-schedules/4/0

Each station's information looks like this:

image

So, theoretically there is a data feed out there that could be incorporated into a module. Apparently the Subway API is undocumented.

Curiously, display on the TTC's own site is not consistent. I found some cases where the times are shown in different ways (specific times, instead of minutes):

image