LIRR and MNR under an Elevator & Escalator Status API

76 views
Skip to first unread message

Vivek Sangadiya

unread,
May 8, 2024, 9:31:32 AMMay 8
to mtadeveloperresources
I want to access LIRR and MNR API data.

I have obtained the real feed API for:

LIRR: https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/lirr%2Fgtfs-lirr
MNR: https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/mnr%2Fgtfs-mnr
However, the data I received from these APIs looks like this:

1 œøí± ¤ 1233 ì 7410691 0835 05082024* 3 . ¬ åí± ¬ åí± " 112ê> 3 Departedê> . ¬ Ôæí± ¬ Ôæí± " 111ê>

I would like to convert this data into JSON format for display. Please find attachment below.
Screenshot 2024-05-08 185154.png

Shawn Tolidano

unread,
Jul 2, 2024, 4:08:34 PMJul 2
to mtadeveloperresources
You could use a library like this one https://pypi.org/project/nyct-gtfs/ to covert it.
Reply all
Reply to author
Forward
0 new messages