Hi.
I’m relatively new to APIs, and the like. I’m just wondering how the GTFS realtime data is encoded, because I’m getting a lot of “��ָ�
” type characters when I pull it as UTF-8.
Hi.
I’m relatively new to APIs, and the like. I’m just wondering how the GTFS realtime data is encoded, because I’m getting a lot of “��ָ�
” type characters when I pull it as UTF-8.
Take a look @ GTFS Realtime Overview | Realtime Transit | Google Developers
Or use any of the GTFS Realtime libraries @ https://developers.google.com/transit/gtfs-realtime/code-samples
I did - I was expecting a JSON feed to come straight from the server. Oops :L
BINARY data is returned. the PHP libraries work easily and process very quickly too. Have not tried the others. You can get a JSON like result if you set debug=true, but you will not get the whole dataset doing that (only for debug purposes of course).