Real-Time Data
I have downloaded the real-time data using the API keys. However, it is in protobuf file format and the guide mentioned that I need to decode the file to get the structured data. I read the resources provided but there is no specific code to extract the real-time data. Is there any simple method to decode the protobuf file?
Följ inlägget
0
följare
Googles GTFS-RT dokumentation inkluderar exempel i flera språk:
https://developers.google.com/transit/gtfs-realtime/examples/code-samples
Hälsningar,
Bert
https://developers.google.com/transit/gtfs-realtime/examples/vehicle-positions
You have to write your own script in order to extract the data fields you want to use.
Regards,
Bert