I’m trying to work on a project where I need to access live GTFS feeds from the MTA found here. Could someone help me understand how to load a GTFS feed into Python in very simple terms?
I’ve tried doing some research online, but most explains things in terms I don’t understand as a newbie. I’ve tried running codes such as the one found here on Replit, but it gives me errors when even trying to load the required packages. I’ve tried playing around with the gfts_realtime_pb2
package but again no luck – I’m not sure if it was even downloading the package because the gtfs_realtime_pb2.FeedMessage()
command.
Wilson Prieve is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1