Where can I get the JSON data?

130 views
Skip to first unread message

Ana A

unread,
Oct 5, 2018, 10:08:52 AM10/5/18
to NextBus API Discussion
Hello,
I'm an aspiring Android Developer from Toronto. I'd like to create a basic TTc app. As I understand it, we don't need an API key. I came upon this site and joined the myTTC google group but it appears that there haven't been any posts there for quite a while.


Thank you in advance.

Ana

Mark

unread,
Oct 5, 2018, 10:21:05 AM10/5/18
to NextBus API Discussion
You can use the feed, instructions for that are here:


if you want JSON instead of XML try prefacing commands with publicJSONFeed instead of publicXMLFeed.

http://webservices.nextbus.com/service/publicJSONFeed?command=agencyList

Ana A

unread,
Oct 5, 2018, 3:43:19 PM10/5/18
to nextbus-a...@googlegroups.com
Thank you for the quick reply. I downloaded the file. Is it just the JSON format sample? I need TTC json data.

--
You received this message because you are subscribed to the Google Groups "NextBus API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextbus-api-dis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages