I apologise in advance if this has been answered before but I am unable to find the right answer.
I am developing an app that will basically show departure times for favourite saved stops. I am using the trip planner APIs to search for stops and retrieve departure times. However only a small number of departure times are being returned so I guess I need to refer to the static realtime GTFS timetables. Reading the documentation I have determined that I need to obtain a trip_id from trips.txt in order to be able to extract my departure times from stop_times.txt. To get the trip_id I can search for the route_id which I obtain from routes.txt. This is where I come unstuck because the route_no in routes.txt does not always match the route_no returned from the trip planner API departure_mon call? Is there something I am missing here? Or does the data returned from the Trip Planner API not match the GTFS data?