Summary:
-I want to be able to use GET in the esp8266 libary to load a text URL that contains the times for the next trains at a particular stop. I can parse any text-based format: JSON, XML anything, but GTFS isn't formatted as text.
-I'm programming using the Arduino IDE which uses C/C++
-I can also use PHP to pre-process the data if needed, but can't find a simple way to do this
-I'd rather not have to install a new application or language on my server if possible.
-I don't have an easy way to run python
How can I get the real-time subway data to my appliance?
If I must install and app or learn a whole new language or protocol which one?
I've been wanting to make a transit appliance for my husband that shows the next train for a long time, but GTFS has always stopped me. I already got it working for NYC buses and metro north. 
In the case of the bus and metro north there was a JSON file or and XML file that I could parse for the next two buses or trains for a given stop id.
But the subway uses GTFS. And even after getting a developers key and reading the documentation:
The data look like this:
"
1.0´‹“€ >
1.0
G≥Í“€∞
36000001£
2
109550_G..N20180815*G >
1G 1815 CHU/CRS#õ‹“€õ‹“€"G26N( >
E2#±›“€±›“€"G24N( >
E2E2#Ì›“€Ì›“€"G22N( >
D2D2J
36000002">
2
109550_G..N20180815*G >
So seeing this I get that it's not text. I'm programing an esp8266, a tiny microprocessor. How can I parse this? I looked in to creating a webpage on my server (where I have PHP) to do the parsing, google says GTFS works with PHP but all of the applications I've found require installing a whole lot of stuff on my server. Or they use python which isn't available on my server.
I feel like I must be missing something. What is the simplest way to do this?
If the MTA's "train time" site was more text based I'd just scrape it. I'm that frustrated.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtime+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/e575fe24-f177-4ea5-9efd-0fe5dcb1084c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtime+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/40ac59cd-ba54-4312-8bd7-9925271b4d0a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.