Trips urls provide views to all planned trips data. Because trips.txt itself is very large table, it should be accessed through views. Query to base url hints you about possible views.
{ "host": "data.foli.fi", "gtfspath": "\/gtfs\/v0", "datasets": [ "20150601-155344" ], "latest": "20150601-155344", "success": false, "subpaths": [ "route", "service", "trip", "all" ] }
[ { "service_id": "A:F\u00d6LI_Kes\u00e4_2015_ver3", "trip_id": "0000null__1000generatedBlock", "trip_headsign": "Satama", "direction_id": 1, "block_id": "1000generatedBlock", "shape_id": "113", "wheelchair_accessible": 2 }, { "service_id": "A:F\u00d6LI_Kes\u00e4_2015_ver3", "trip_id": "0000null__1001generatedBlock", "trip_headsign": "Satama", "direction_id": 1, "block_id": "1001generatedBlock", "shape_id": "113", "wheelchair_accessible": 2 }, /* ...(snip)... */ { "service_id": "S:F\u00d6LI_Kes\u00e4_2015_ver3", "trip_id": "0000null__1390generatedBlock", "trip_headsign": "Kauppatori", "direction_id": 0, "block_id": "1390generatedBlock", "shape_id": "112", "wheelchair_accessible": 2 } ]
[ { "route_id": "1", "service_id": "A:F\u00d6LI_Kes\u00e4_2015_ver3", "trip_headsign": "Satama", "direction_id": 1, "block_id": "1000generatedBlock", "shape_id": "113", "wheelchair_accessible": 2 } ]
Please note that the uncompressed reply is very large (>2MiB) possibly causing problems with small handhelds.
[ { "route_id": "1", "service_id": "A:FOLI_Arki", "trip_id": "00010000__1000generatedBlock", "trip_headsign": "Satama", "direction_id": 1, "block_id": "1000generatedBlock", "shape_id": "0_154", "wheelchair_accessible": 2 }, /* ...(snip)... */ { "route_id": "47", "service_id": "VaVa4", "trip_id": "00017131__VaVa4", "trip_headsign": "Kauppatori", "direction_id": 0, "block_id": "VaVa4", "shape_id": "0_194", "wheelchair_accessible": 2 } ]